In 1863, Devitt moved to Washington, D.C., where he became a professor of the classics and mathematics at Washington Seminary (which later became Gonzaga College High School). He was a professor at the school at the time Abraham Lincoln was assassinated, and he marched with the Gonzaga students in the deceased president's funeral procession.