Former Assembly Speaker Sheldon Silver was sentenced to seven years in prison on Friday for taking millions in bribes and kickbacks in exchange for using his position to benefit two law firms.

It’s the second time Silver has been sentenced on the federal corruption charges, first brought in 2015 by former U.S. Attorney for the Southern District of New York Preet Bharara.