 He was elected as a Democrat to the Thirtieth Congress, holding office from March 4, 1847, to March 3, 1849.He resumed his former pursuits in Greenport and was an unsuccessful candidate for election in 1854 to the Thirty-fourth Congress and in 1856 to the Thirty-fifth Congress.He was elected a delegate to the Republican National Convention at Chicago in 1860, but on his way to attend the convention was taken ill on the steamer "Massachusetts", and died in New York City.