Wilmot Proviso was the legislation to end slavery in the upcoming states after the mexico-american war. It was was controversial since it was rejected.
They empowered the federal government to prevent voting rights discrimination at the state level; it also resulted in an increased number of minority voters and black participation in the political process.