DETROIT (WWJ/AP) – Michigan has agreed to pay the Detroit school district’s former state-appointed emergency manager more than $82,000 to serve as a consultant through mid-July.

Darnell Earley stepped down last month from his job leading Michigan’s largest school district amid criticism for his role in Flint’s lead-tainted water crisis and his handling of teacher sick-outs and building conditions in Detroit’s troubled public schools.

READ MORE: What Is The Best Sunscreen For Me? Environmental Working Group Releases Annual Guide

The agreement with the office of Gov. Rick Snyder was negotiated before it was announced that Earley was leaving, according to the Detroit Free Press. Earley will be available to consult with school and state officials as a new so-called transition manager begins work.

READ MORE: Parole Denied For Don Miller Who Killed 4 Women In Lansing In The 1970s

Earley was state-appointed emergency manager in Flint when its drinking water was switched to the Flint River and improperly treated water leached lead from pipes.

MORE NEWS: Michigan Court Seeks More From Whitmer About Abortion Ban Challenge

TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.