The main purpose of this legislation is to require states to pay the federal government for costs incurred when federal military forces are deployed in response to civil disturbances or security threats that arise from the state's refusal to cooperate with federal immigration enforcement. The goal is to hold states accountable for their actions that may lead to increased federal intervention.