CHICAGO (AP) — A judge in Chicago has agreed to release former U.S. Rep. Mel Reynolds from jail as he awaits trial on misdemeanor tax charges.

Thursday’s ruling requires the Illinois Democrat to wear an electronic-monitoring device so authorities can keep tabs on him.

Reynolds is accused of failing to file tax returns from 2009 to 2012. He was jailed in April after violating bond conditions when traveling in Africa.

U.S. Magistrate Judge Maria Valdez approved an agreement between Reynolds and prosecutors letting him live in a Chicago-area home until his trial in September. He’ll also have a 9 p.m. to 7 a.m. curfew.

The Harvard graduate and Rhodes Scholar resigned from Congress in 1995 after being convicted of statutory rape. He was later convicted on charges that included concealing debts.