The Contract Clause, found in the U.S. Constitution, prohibits states from passing laws that impair contractual obligations. Initially interpreted broadly, its application has narrowed over time, balancing the protection of contracts with states' need for economic regulation. The clause aims to promote economic stability by safeguarding contracts, but allows for some state interference if there's a legitimate public purpose. Courts use a three-part test to determine violations, considering the impairment's extent, the state's purpose, and the law's necessity.