subparagraph (A) may not provide for a period of obligation of less than 1 year for each maximum annual amount, or portion thereof, paid on behalf of the person for qualified loans. (3) Persons on active duty before entering into agreement The active duty service obligation of persons on active duty before entering into the agreement shall be served after the conclusion of any other obligation incurred under the agreement. (f) Effect of failure To complete obligation (1) Alternative obligations An officer who is relieved of the officer's active duty obligation under this section before the completion of that obligation may be given any alternative obligation, at the discretion of the Secretary. (2) Repayment An officer who does not complete the period of active duty specified in the agreement entered into under subsection (b)(3), or the alternative obligation imposed under paragraph (1), shall be subject to the repayment provisions under section 216. (g) Rulemaking The Secretary shall prescribe regulations to carry out this section, including— (1) standards for qualified loans and authorized payees