; (C) has a term to maturity of 30 years; (D) has an annual interest rate of 5 percent for the entire term of the loan; (E) has terms that provide for full amortization of the loan over such term to maturity; and (F) shall be repaid by the enterprise in accordance with the amortization schedule established for the loan pursuant to subparagraph (E) of this paragraph, subject to paragraph (3). (3) Treatment of dividends paid That any dividends paid by the enterprise to the Department of the Treasury under the Senior Preferred Stock Agreement before such modification of such Agreement shall be treated as payments of principal and interest due under the loan referred to in paragraph (2), and shall be credited against payments due under the terms of such loan (in accordance with the amortization schedule established for such loan pursuant to paragraph (2)(E)), first to such loan having the earliest origination date that has not yet been fully repaid until such loan is repaid, and then to the next such loan having the next earliest origination date until such loan is repaid. 3. Definitions For purposes of this Act, the following definitions shall apply: (1) Enterprise The term enterprise has the meaning given such term in section 1303 of the Federal Housing Enterprises Financial Safety and Soundness Act of 1992 ( 12 U.S.C. 4502 ). (2) Preferred stock purchase agreement The term Preferred Stock Purchase Agreement means, with respect to an enterprise, the Amended and Restated Senior Preferred Stock Purchase Agreements, dated September 26, 2008, amended May 6, 2009, further amended December 24, 2009, and further amended December 24, 2009 (as such agreements may be further amended), between the United States Department of the Treasury and such enterprise.