On July 2, 1881, Blaine and President James A. Garfield were walking in the Baltimore and Potomac Railroad station in Washington, D.C. when Charles J. Guiteau shot Garfield in the back. Blaine resigned as Secretary of State several months later.