Lincoln supported the Wilmot Proviso, a failed proposal to ban slavery in any U.S. territory won from Mexico.