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 his claim for a consulship. In the spring, he was still in Washington, and on May 14, 1881, he once more encountered Secretary of State James G. Blaine in person and inquired about a consular appointment; an exasperated Blaine finally snapped "Never speak to me again on the Paris consulship as long as you live!" Guiteau considered himself a loyal Republican and a Stalwart, and his narcissistic personality convinced him that his work for the party was critical to Garfield’s election to the presidency. Later convinced that Garfield was going to destroy the Republican Party by scrapping the patronage system,