a hearing on the matter. Such court shall only have jurisdiction to review the basis for delay and remand the matter to the Secretary for the Secretary's determination on the application. . (b) Limitations on review of denial Subsection (c) of section 310 of the Immigration and Nationality Act ( 8 U.S.C. 1421(c) ) is amended to read as follows: (c) Judicial review (1) Judicial review of denial A person whose application for naturalization under this title is denied, after a hearing before an immigration officer under section 336(a), may seek, not later than 120 days after the date of the Secretary of Homeland Security’s administratively final determination on the application, review of such denial before the United States district court for the district in which such person resides in accordance with chapter 7 of title 5, United States Code. (2) Burden of proof The burden shall be upon the petitioner to show that the denial by the Secretary of Homeland Security of the application for naturalization was not supported by facially legitimate and bona fide reasons. (3) Limitations on review Except in a proceeding under section 340, and notwithstanding any other provision of law, including section 2241 of title 28, United States Code, any other habeas corpus provision, and sections 1361 and 1651 of such title, no court shall have jurisdiction to determine, or to review a determination of the Secretary of Homeland Security made at any time regarding, whether, for purposes of an application for naturalization, an alien— (A) is a person of good moral character