$5000 was invested into an investment that pays 4.25% simple interest. The total value of the investment amounted to $6593.75. How long was principal invested for?