; and (B) acts and conditions occurring or existing before, on, or after such date. (2) The amendments made by subsection (b) shall take effect upon the date of the enactment of this Act, and section 236 of the Immigration and Nationality Act, as so amended, shall in addition apply to any alien in detention under provisions of such section on or after such date. 311. Grounds of inadmissibility and deportability for alien gang members (a) Definition of gang member Section 101(a) of the Immigration and Nationality Act ( 8 U.S.C. 1101(a) ) is amended by adding at the end the following: (53) (A) The term criminal gang means an ongoing group, club, organization, or association of five or more persons that has as one of its primary purposes the commission of one or more of the following criminal offenses and the members of which engage, or have engaged within the past 5 years, in a continuing series of such offenses, or that has been designated as a criminal gang by the Secretary of Homeland Security, in consultation with the Attorney General, as meeting these criteria. The offenses described, whether in violation of Federal or State law or foreign law and regardless of whether the offenses occurred before, on, or after the date of the enactment of this paragraph, are the following: (i) A felony drug offense (as defined in section 102 of the Controlled Substances Act ( 21 U.S.C. 802 )). (ii) An offense under section 274 (relating to bringing in and harboring certain aliens), section 277 (relating to aiding or assisting certain aliens to enter the United States), or section 278 (relating to importation of alien for immoral purpose). (iii) A crime of violence (as defined in section 16 of title 18, United States Code). (iv) A crime involving obstruction of justice, tampering with or retaliating against a witness, victim, or informant, or burglary. (v) Any conduct punishable under sections 1028 and 1029 of title 18, United States Code (relating to fraud and related activity in connection with identification documents or