William McKinley, a Republican, led the nation to victory in the Spanish-American War, expanded territories, restored prosperity, and promoted protective tariffs. His presidency marked a realignment in American politics.