; and (ii) determined to be unqualified for service in the commissioned officer corps of the Administration because of a physical or medical condition that was not the result of the person's own misconduct or grossly negligent conduct. (4) Obligation as debt to United States An obligation to reimburse the Secretary imposed under paragraph (2) is, for all purposes, a debt owed to the United States. (5) Discharge in bankruptcy A discharge in bankruptcy under title 11, United States Code, that is entered less than 5 years after the termination of a written agreement entered into under subsection (b)(1)(C) does not discharge the person signing the agreement from a debt arising under such agreement or under paragraph (2). (i) Regulations The Secretary may promulgate such regulations and orders as the Secretary considers appropriate to carry out this section. (j) Minority institutions In carrying out this section, the Secretary may prioritize persons described in subsection (b) who attend minority institutions as defined by section 365(3) of the Higher Education Act ( 20 U.S.C. 1067k(3) ). . (b) Clerical amendment The table of contents in section 1 of the Hydrographic Services Improvement Act Amendments of 2002 ( Public Law 107–372 ), as amended by this Act, is further amended by inserting after the item relating to section 268 the following: Sec. 269. Student pre-commissioning education assistance program. . 204. Limitation on educational assistance (a) In general Each fiscal year, beginning with the fiscal year in which this Act is enacted, the Secretary of Commerce shall ensure that the total amount expended by the Secretary under sections 267 through 269 of the National Oceanic and Atmospheric Administration Commissioned Officer Corps Act of 2002, as amended by this Act, does not exceed the amount by which— (1) the total amount the Secretary would pay in that fiscal year to officer candidates under section 203(f)(1) of title 37, United States Code (as added by section 305(d)), if such section entitled officers