; and (B) terminate removal proceedings. (d) No numerical limitations Nothing in this section or in any other provision of law may be construed to apply a numerical limitation to the number of veterans who may be eligible to receive a benefit under this section. (e) Eligibility (1) In general Notwithstanding any other provision of law, including sections 212 and 237 of the Immigration and Nationality Act (8 U.S.C. 1182 and 1227), a noncitizen veteran shall be eligible to participate in the program established under subsection (a) or for adjustment of status under subsection (b) or (c), as applicable, if the Secretary or the Attorney General, as applicable, determines that the noncitizen veteran— (A) was not removed or ordered removed from the United States based on a conviction for— (i) a crime of violence; or (ii) a crime that endangers the national security of the United States for which the noncitizen veteran has served a term of imprisonment of at least 5 years; and (B) is not inadmissible to, or deportable from, the United States based on a conviction for a crime described in subparagraph (A). (2) Waiver The Secretary may waive the application of subparagraph (A) or (B) of paragraph (1)— (A) for humanitarian purposes; (B) to ensure family unity; (C) based on exceptional service in the Armed Forces