The transformation of American politics, 1840-1860