The presidency of William McKinley began on March 4, 1897, when William McKinley was inaugurated and ended September 14, 1901, upon his assassination. A longtime Republican, McKinley is best known for conducting the successful Spanish–American War (1898), freeing Cuba from Spain; taking ownership of the Republic of Hawaii; and purchasing the Philippines, Guam and Puerto Rico. Wikipedia