The main purpose of this legislation is to strengthen the process of denaturalization for individuals who have been convicted of supporting terrorism. It aims to ensure that those who engage in such activities can lose their citizenship as a consequence of their actions. Key provisions of the law include a specific amendment to the Immigration and Nationality Act. It establishes that if a person is convicted of certain terrorist-related offenses, specifically under sections 2339A or 2339B of the U.S. Code, the court will automatically revoke their citizenship.