Larry B. Seabrook, a pillar of Bronx politics whose nearly three-decade tenure included stints as an assemblyman, state senator and city councilman, was sentenced to five years in prison in a corruption case on Tuesday by a federal judge who said he had betrayed the public trust.

Mr. Seabrook, 61, was also ordered to pay $620,000 in restitution to New York City.

Mr. Seabrook automatically lost his City Council seat in July after he was convicted of orchestrating a broad scheme to funnel hundreds of thousands of dollars in city money to friends, relatives and a girlfriend through a network of nonprofit groups he controlled.

His lawyers had asked that he not be sent to prison, citing his years of public service and what they called his immense shame and his potential for rehabilitation.

But the judge, Deborah A. Batts of Federal District Court in Manhattan, said that while she did not doubt Mr. Seabrook’s contributions as an elected official, the evidence had “clearly established that his qualities and accomplishments as a public servant are vastly diminished because of his sense of entitlement, arrogance, nepotism and greed.