Walter Smith Cox was a professor of law at what was then called Columbian University, known today as The George Washington University, in Washington, D.C.. On February 26, 1879, Cox was nominated by President Rutherford B. Hayes to a new seat on the United States District Court for the District of Columbia created by 20 Stat. 320. He was confirmed by the United States Senate on March 1, 1879, and received his commission the same day. During his service, he presided over the trial of Charles J. Guiteau, the assassin of President James A. Garfield. Cox retired from the federal bench on July
Charles J. Guiteau over the first time he fired it. Guiteau's pistol was recovered after the assassination, and even photographed by the Smithsonian in the early 20th century, but it has since been lost. On one occasion, Guiteau trailed Garfield to the railway station as the President was seeing his wife off to a beach resort in Long Branch, New Jersey, but he decided to postpone his plan because Garfield's wife Lucretia was in poor health and Guiteau did not want to upset her. Having been alerted to the president's schedule by a newspaper article, on July 2, 1881, he lay in wait