How did Francis Scott Key die?

Francis Scott Key (1779-1843) died from pleurisy, which is an inflammation of the spaces around the lungs.