<P> William Henry Harrison holds the record for shortest term served, holding the office of presidency for 31 days before dying . Harrison was the first president to die while in office when he caught pneumonia and died on April 4, 1841 . On July 9, 1850, Zachary Taylor died from acute gastroenteritis . Abraham Lincoln was the first president to be assassinated . He was shot by John Wilkes Booth on April 14, 1865 . Sixteen years later, on September 19, 1881, President James A. Garfield was assassinated by Charles J. Guiteau . Nearly twenty years after that, President William McKinley died from complications after being shot twice by Leon Czolgosz . President Warren G. Harding suffered a heart attack, and died on August 2, 1923 . On April 12, 1945, Franklin D. Roosevelt collapsed and died as a result of a cerebral hemorrhage . The most recent president to die in office was John F. Kennedy, who was assassinated with two rifle shots on November 22, 1963, in Dallas, Texas . </P> <P> On March 26, 1841, William Henry Harrison became ill with a cold . According to the prevailing medical misconception of that time, it was believed that his illness was directly caused by the bad weather at his inauguration; however, Harrison's illness did not arise until more than three weeks after the event . The cold worsened, rapidly turning to pneumonia and pleurisy . He sought to rest in the White House, but could not find a quiet room because of the steady crowd of office seekers . His extremely busy social schedule made any rest time scarce . </P> <P> Harrison's doctors tried cures, applying opium, castor oil, leeches, and Virginia snakeroot . But the treatments only made Harrison worse, and he became delirious . He died nine days after becoming ill, at 12: 30 am on April 4, 1841, of right lower lobe pneumonia, jaundice, and overwhelming septicemia . He was the first United States president to die in office . His last words were to his doctor, but assumed to be directed at Vice President John Tyler, "Sir, I wish you to understand the true principles of the government . I wish them carried out . I ask nothing more ." Harrison served the shortest term of any American president: March 4--April 4, 1841, 30 days, 12 hours, and 30 minutes . </P> <P> Harrison's funeral took place in the Wesley Chapel in Cincinnati, Ohio, on April 7, 1841 . His original interment was in the public vault of the Congressional Cemetery in Washington, D.C. He was later buried in North Bend, Ohio . The William Henry Harrison Tomb State Memorial was erected in his honor . </P>

Who took the oath of office after the president of the united states was assassinated in 1901