Bonita deposited $1300 into a bank account that earned 5.75% simple interest each year. She earned $299 in interest before closing the account.

If no money was deposited into or withdrawn from the account, for how many years was the money in the account?