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 had been legally insane at the time of the shooting (because God had taken away his free will), he was not really medically insane, which was one of the major causes of the rift between him and his defense lawyers. Edward Charles Spitzka, a leading alienist, testified as an expert witness. Spitzka had stated that it was clear "Guiteau is not only now insane, but that he was never anything else." While on the stand, Spitzka testified that he had "no doubt" that Guiteau was both insane and "a moral monstrosity". Spitzka came to the conclusion that Guiteau had "the