The correct answer is Leon Czolgosz.
President William McKinley was in Buffalo for the Pan-American exposition when Czolgosz, an anarchist, came up to him and fatally shot McKinley in the stomach. Czolgosz was inspired by the assassination of Italian King Umberto I.
McKinley was succeeded as President by Theodore Roosevelt.