The purpose of this legislation is to restrict the powers of U.S. Border Patrol agents, ensuring they focus solely on their traditional duties related to border security. The bill aims to address concerns about the agents' expanding roles, particularly their involvement in arrests and activities far from the border, which have raised issues about their training and authority. Key provisions of the legislation include a reaffirmation of a 25-mile limit on the operational range of U.S. Border Patrol agents from the U.S. border.