 He was elected as a Federalist to the Eighth Congress, and served from March 4, 1803 to March 3, 1805.He was President of the board of trustees of the Village of Brooklyn in 1824.He was again elected to the 19th United States Congress, and served from March 4, 1825 to March 3, 1827.