 Months later, the president was stricken with a massive infection from the gunshot wounds. He died on September 19, 1881. James Garfield had been president for 200 days. After the gunman and jury found him guilty after 45 minutes of deliberation, he was hanged for his crimes.