 Beginning on July 1, 1791, he was a member of the New York State Senate during the 15th until the 20th New York State Legislature, and of the Council of Appointment in 1796.He vacated his seat in the Senate on April 26, 1797 when President John Adams appointed him Collector of the Port of New York.He held this office until July 9, 1801, when he was removed by President Thomas Jefferson.