 After that, he was elected to the New York State Senate in 1823 and 1824.Green was elected as a Democrat from New York's 27th congressional district in the Twenty-eighth Congress.He held office from March 4, 1843 to March 3, 1845.