; (B) to ensure family unity; (C) due to exceptional service in the United States Armed Forces; or (D) if such waiver otherwise is in the public interest. 4. Protecting veterans and service members from removal Notwithstanding any other provision of law, including section 237 of the Immigration and Nationality Act ( 8 U.S.C. 1227 ), a noncitizen who is a veteran or service member may not be removed from the United States unless the noncitizen has a criminal conviction for a crime of violence. 5. Naturalization through service in the Armed Forces of the United States An alien who has obtained the status of an alien lawfully admitted for permanent residence pursuant to section 3(a) shall be eligible for naturalization through service in the Armed Forces of the United States under sections 328 and 329 of the Immigration and Nationality Act ( 8 U.S.C. 1439 and 1440), except that— (1) when determining whether the noncitizen is a person of good moral character, disregard the ground on which the noncitizen was— (A) ordered removed, or was removed, from the United States; or (B) rendered inadmissible to, or deportable from, the United States; and (2) any period of absence from the United States due to the noncitizen having been removed, or being inadmissible, shall be disregarded when determining if the noncitizen satisfies any requirement relating to continuous residence or physical presence. 6. Access to military benefits An alien who has obtained the status of an alien lawfully admitted for permanent residence pursuant to section 3(a) shall be eligible for all military and veterans benefits for which the noncitizen would have been eligible if, from the United States, the noncitizen had never— (a) been ordered removed; (b) been removed