; ; and (2) (A) by adding at the end the following: (VI) to threaten, attempt, or conspire to do any of acts described in subclauses (I) through (VI). . 502. Terrorist grounds of inadmissibility (a) Security and related grounds Section 212(a)(3)(A) of the Immigration and Nationality Act ( 8 U.S.C. 1182(a)(3)(A) ) is amended to read as follows: (A) In general Any alien who a consular officer, the Attorney General, or the Secretary of Homeland Security knows, or has reasonable ground to believe, seeks to enter the United States to engage solely, principally, or incidentally, in, or who is engaged in, or with respect to clauses (i) and (iii) has engaged in— (i) any activity— (I) to violate any law of the United States relating to espionage or sabotage; or (II) to violate or evade any law prohibiting the export from the United States of goods, technology, or sensitive information, (ii) any other activity which would be unlawful if committed in the United States, or (iii) any activity a purpose of which is the opposition to, or the control or overthrow of, the Government of the United States by force, violence, or other unlawful means, is inadmissible. . (b) Terrorist activities Section 212(a)(3)(B)(i) of the Immigration and Nationality Act ( 8 U.S.C. 1182(a)(3)(B)(i) ), is amended— (1) in subclause (IV), by inserting or has been before a representative ; (2) in subclause (V), by inserting or has been before a member ; (3) in subclause (VI), by inserting or has been before a member ; and (4) by amending subclause (VII) to read as follows: (VII) endorses or espouses or has endorsed or espoused terrorist activity or persuades or has persuaded others to endorse or espouse terrorist activity or support a terrorist organization;