In the United States, the Wilmot Proviso, first suggested in 1846 and attached to many bills but never passed, would have outlawed slavery in any U.S. territory gained by the recently completed Mexican-American War. The Free Soil Party formed in support of the Wilmot Proviso, and their platform of Free soil was later adopted by the Republican Party.