The main purpose of this legislation is to limit the use of federal law enforcement officers for crowd control and to establish clear guidelines for their actions during protests, demonstrations, or riots. It aims to prevent the misuse of federal authority in managing public gatherings and to enhance accountability and transparency in law enforcement practices. Key provisions of the legislation include requirements for federal law enforcement officers and armed forces engaged in crowd control to always display identifying information, such as their agency and last name or unique identifier.