Updated

A former mayor of Hoboken, N.J., has been sentenced to two years in prison for accepting bribes from a federal informant posing as a corrupt developer.

Peter Cammarano III had pleaded guilty in April to extortion conspiracy. Under terms of his plea agreement, Cammarano had faced as many as 2½ years behind bars. The maximum sentence for the crime is 20 years.

At 32, Cammarano became Hoboken's youngest mayor last summer. But three weeks after he took office, he was arrested in the state's largest corruption sting that swept up dozens of politicians and rabbis.

Cammarano admitted taking $25,000 from informant Solomon Dwek in exchange for promises to help Dwek build in Hoboken.

He told the judge Thursday that he felt "profound regret" for his actions.