By the time of the Spanish-American War of 1989 , which William McKinley led , he was already in his late forties .
McKinley hoped to persuade Spain to grant independence to rebellious Cuba without conflict , but when negotiation failed , he led the nation into the Spanish -- American War of 1898 ; the U.S. victory was quick and decisive .
William McKinley