The first lady sobbed over him, saying, "I want to go, too. I want to go, too."[212] Her husband replied, "We are all going, we are all going. God's will be done, not ours", and with final strength put an arm around her.[213] He may also have sung part of his favorite hymn, "Nearer, My God, to Thee",[214] although other accounts have the first lady singing it softly to him.[213]
At 2:15 a.m. on September 14, 1901, McKinley died. Theodore Roosevelt rushed back to Buffalo and took the oath of office as president. Czolgosz, put on trial for murder nine days after McKinley's death, was found guilty, sentenced to death on September 26 and executed by electric chair on October 29, 1901.[215]

Funeral, memorials, and legacy
Funeral and resting place
According to Gould, "The nation experienced a wave of genuine grief at the news of McKinley's passing."[216] The stock market, faced with sudden uncertainty, suffered a steep decline that went nearly unnoticed in the mourning. 