President five also had a predecessor on his mind when he passed away. James Monroe said, “I regret that I should leave this world without again beholding him.” He meant his best friend, James Madison. William McKinley was shot by an assassin.