The purpose of this legislation, known as the "Guarding U.S. Authority for Removal and Detention Act" or the "GUARD Act," is to enhance the enforcement of immigration laws in the United States. It aims to allow the National Guard to assist in immigration enforcement and to impose stricter penalties for assaults on immigration enforcement officers. One of the key provisions of the GUARD Act is the amendment to the Posse Comitatus Act, which traditionally limits the use of military forces for domestic law enforcement.