The U.S. Court of Appeals for the Second Circuit vacated part of former New York State Assembly Speaker Sheldon Silver’s conviction Tuesday, ruling that a Southern District of New York judge gave flawed jury instructions during Silver’s 2018 trial.

Silver was sentenced to seven years in prison after he was convicted of seven counts related to two alleged bribery schemes during his 21 years as speaker. The Second Circuit overturned the counts related to one of the alleged bribery schemes, which involved legal referral fees for mesothelioma cases.