Follow KDKA-TV: Facebook | Twitter

PITTSBURGH (AP) – A state lawmaker from the Pittsburgh area is stepping down next week, on the day he’s scheduled to be sentenced for his role in an illegal gambling machine operation.

READ MORE: Mars Area School District Rolling Out School Bus Tracking App

The Pittsburgh Post-Gazette reported Friday that seven-term Rep. Marc Gergely submitted a resignation letter to the House speaker. It takes effect Monday.

The 48-year-old Democrat’s letter didn’t elaborate on his plan to quit the chamber.

READ MORE: Threats Place All Pittsburgh Public Schools On Modified Lockdown Friday

His resignation is a condition of the guilty plea he entered in August to misdemeanors for conspiracy and campaign finance violations.

House Speaker Mike Turzai has until Nov. 16 to schedule a special election to fill Gergely’s unexpired term. Gergely’s last vote in the House was Oct. 26 on the massive gambling expansion bill that Gov. Tom Wolf signed Monday.

Gergely voted for it.

MORE NEWS: COVID-19 In Pennsylvania: State Reports Over 10,000 New Cases

(Copyright 2017 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)