to the qualified borrower. (2) Refinancing FFEL, Perkins, or PHSA student loans as refinanced federal direct loans Upon application of a qualified borrower of any FFEL, Perkins, or PHSA student loan, the Secretary shall make a loan under this part, in an amount equal to the sum of the unpaid principal, accrued unpaid interest, and late charges of the original loan to the borrower in accordance with the following: (A) The Secretary shall pay the proceeds of such loan to the holder of the FFEL, Perkins, or PHSA student loan, in order to discharge the borrower from any remaining obligation with respect to the original loan. (B) Any Federal student loan made under this section that was originally a loan described in subsection (a)(1)(A) and that was made, insured, or guaranteed— (i) under section 428 shall be a Federal Direct Stafford Loan