Human: When was the last time a president died in office? Assistant: 
The last time a president died in office was in 1881. President Garfield was shot by an assassin. He died of his wounds on September 19, 1881.