The Wilmot Proviso was a proposal by Representative David Wilmot of Pennsylvania to exclude slavery from the territories acquired from the Mexican–American War. The proviso was adopted by the House of Representatives in 1846 but was never passed by the Senate.