America underwent a profound transformation economically, socially, and politically throughout the 19th Century.