Seth Williams has plead guilty in his corruption case and is set to resign as Philadelphia District Attorney. Williams initially denied any wrongdoing and if found guilty on all charges, could have been sentenced to up to 20 years in prison.
As part of the plea deal on Thursday, 28 other counts in the case against Williams have been dismissed.
Williams could be sentenced to 46 to 57 months in prison.
The two-term Democrat was accused of taking bribes worth tens of thousands of dollars in exchange for legal favors.
Prosecutors had alleged Williams accepted gifts such as an all-inclusive vacation to the Dominican Republic, a couch and a Jaguar convertible from two business owners between 2010 and 2015. They alleged he used his connections as the city's top prosecutor to intervene in legal matters on their behalf.
Williams had denied any wrongdoing.
Williams previously served as the city's inspector general and was responsible for investigating corruption and misconduct.
The D.A. was facing up to 20 years in prison if he was convicted on all charges.