; and (2) the Attorney General determines that the legislation of the State described in paragraph (1) complies with the requirements of section 3. (c) Use of funds Funds awarded under this section may be used by a State to assist law enforcement agencies or the courts of the State in carrying out the provisions of the State legislation described in section 3. (d) Application An eligible State desiring a grant under this section shall submit to the Director of the Office of Community Oriented Policing Services an application at such time, in such manner, and containing or accompanied by such information, as the Director may reasonably require. (e) Authorization of appropriations There are authorized to be appropriated such sums as are necessary to carry out this section. 5. Federal firearms prohibition Section 922 of title 18, United States Code, is amended— (1) in subsection (d)— (A) in paragraph (8)(B)(ii), by striking or at the end; (B) in paragraph (9), by striking the period at the end and inserting ; or ; and (C) by inserting after paragraph (9) the following: (10) is subject to a court order that prohibits such person from having under the custody or control of the person, owning, purchasing, possessing, or receiving any firearms. ; and (2) in subsection (g)— (A) in paragraph (8)(C)(ii), by striking or at the end; (B) in paragraph (9), by striking the comma at the end and inserting ; or