William McKinley was the 25th President of the United States, serving from March 4, 1897, until his assassination on September 14, 1901, after leading the nation to victory in the Spanish-American War and raising protective tariffs to promote American industry. Born in Niles, Ohio, in 1843, McKinley briefly attended Allegheny College, and was teaching in a country school when the Civil War broke out. Enlisting as a private in the Union Army, he was mustered out at the end of the war as a brevet major of volunteers. He studied law, opened an office in Canton, Ohio, and married Ida Saxton, daughter of a local banker.