 He was corporation counsel for New Haven from 1889 to 1891.Townsend was nominated by President Benjamin Harrison on March 24, 1892, to a seat on the United States District Court for the District of Connecticut vacated by Judge Nathaniel Shipman.He was confirmed by the United States Senate on March 28, 1892, and received his commission the same day.