sentences:  He was a Regent of the University of the State of New York from 1873 to 1903.Townsend was elected as a Republican to the 44th and 45th United States Congresses, and served from March 4, 1875 to March 3, 1879.He was United States Attorney for the Northern District of New York from 1879 to 1887.