; (3) which involved the unlawful possession of a firearm (as such term is defined in section 921 of title 18, United States Code); or (4) for which the alien was sentenced to a term of imprisonment of longer than 90 days. 3. Limiting grounds of deportability for servicemembers and veterans Section 237 of the Immigration and Nationality Act ( 8 U.S.C. 1227 ) is amended by adding at the end the following: (e) Alien members of the United States Armed Forces The provisions of this section shall not apply to an alien who has been a member of the United States Armed Forces for a period of not less than 180 days, and who has not received a discharge other than an honorable discharge, except in the case of an alien who— (1) has been convicted of— (A) a felony; (B) a significant misdemeanor (as such term is defined in section 2 of the Restoring Respect for Immigrant Service in Uniform Act); or (C) 3 or more misdemeanors that are not significant misdemeanors, each of which occurred on a different date, and arose out of separate conduct; and (2) is otherwise a threat to national security or public safety. .