sentences:  When he was only twenty-seven, Lewis was appointed by President Ulysses S. Grant United States Attorney for the Eastern District of Virginia.He was elected to the Supreme Court of Appeals in 1882 and served on the court through 1894, becoming its president when the court convened in January 1883.His term expired on January 1, 1895 and Judge Lewis resumed the practice of law in Richmond.