McKinley was shaking hands with the people when he was shot by the anarchist Leon Czolgosz. He died days later on September 14 from his bullet wounds in Buffalo, New York, aged 58. It was later known that Czolgosz killed the McKinley in an attempt to advance anarchism.