Through funding, law, and courts, the federal government has foundational influence over how local governments can act.