; and (B) if separated from the service described in subparagraph (A), was separated under honorable conditions. . 5. Factors to consider in initiating removal proceedings against active duty military personnel and veterans Section 239 of the Immigration and Nationality Act ( 8 U.S.C. 1229 ) is amended by adding at the end the following: (f) Considerations for active duty military personnel and veterans (1) In general A notice to appear shall not be issued against an alien who has served honorably at any time in the Armed Forces of the United States, and who, if separated from the Armed Forces, separated under honorable conditions, without prior approval from the Secretary of Homeland Security. (2) Factors In determining whether to issue a notice to appear against such an alien, the Secretary shall consider the alien’s eligibility for naturalization under section 328 or 329, as well as the alien’s record of military service, grounds of deportability applicable to the alien, and any hardship to the Armed Forces, the alien, and his or her family if the alien were to be placed in removal proceedings. (3) Prohibition An alien who has served honorably in the Armed Forces of the United States, and who, if separated from the Armed Forces, separated under honorable conditions, shall not be removed from the United States under subparagraph (A)(i) or (B)(iii) of section 235(b)(1), section 238, or section 241(a)(5). .