Justin borrowed money from a credit union for 2 years and was charged simple interest at an annual rate of 7%. The total interest that he paid was $840. How much money did he borrow?