Alan G. Hevesi, a New York politician who spent 35 years as an elected official until he suffered a fall from grace that led to his resignation as state comptroller and 20 months in prison for corruption, died on Nov. 9 in East Meadow, L.I. He was 83.

On Oct. 23, 2006, a state ethics commission concluded that Mr. Hevesi had knowingly violated the law by improperly assigning a public employee to handle personal chores. On Nov. 3, he was ordered by Attorney General Eliot Spitzer to reimburse the state $90,000 in addition to $83,000 he had already paid. Yet, on Nov. 7, he was reelected. A month later, he pleaded guilty to defrauding the government and resigned from office.

Four years later, in October 2010, he pleaded guilty to corruption charges stemming from a pay-to-play scheme in which, as comptroller, he had accepted $1 million in gifts, trips and campaign contributions for steering $250 million in New York State pension fund investments to a California venture capitalist. Mr. Hevesi was sentenced to one to four years in prison, and was released on parole on Dec. 19, 2012, after serving 20 months.