Question: who was the president who died of pneumonia
Answer: William Henry Harrison Sr. ( February 9 , 1773 -- April 4 , 1841 ) was an American military officer , a principal contributor in the War of 1812 , and the ninth president of the United States ( 1841 ) .