The main purpose of this legislation is to create a grant program that helps municipalities manage the financial burdens associated with having U.S. Immigration and Customs Enforcement (ICE) processing or detention facilities within their borders. The program aims to provide financial support to local governments that may face increased costs due to these facilities. Key provisions of the legislation include the establishment of a grant program overseen by the Secretary of Homeland Security.