Embattled Davenport City Administrator Craig Malin will likely leave his job on Friday, June 26, 2015.
Davenport aldermen revealed the deal on Wednesday morning.
They call it a "Succession, Transition and Separation Agreement."
They're planning to make it official with a vote on Wednesday evening.
"We were just continually trying to figure out what is the best solution for Davenport," said Alderman-at-Large Jason Gordon.
"I think our goal today is to try to put our best foot forward," Gordon said. "Try to make the best of a bad situation."
Malin writes that he is moving forward positively, not resigning in response to Mayor Bill Gluba's request.
"There comes a time when conditions are such that a change is necessary," said Third Ward Alderman Bill Boom. "The council felt that. The mayor felt that."
The situation reaching a boiling point over cost approval for Elmore Avenue's expansion to the new Rhythm City Casino.
But at least two aldermen say that issue remains up in the air.
"Nowhere can I find anything that holds the city responsible for paying for the grading of the casino site," said Second Ward Alderman Bill Edmond.
Malin's record-setting 14-year run as city administrator will end.
The city will launch a national search for a replacement.
Assistant City Administrator Corri Spiegel will serve in a limited basis for the interim.
"When the mayor expresses a lack of confidence in the city administrator, I think that makes it awfully difficult to continue on as if nothing happened," Gordon said.
A controversial time in Davenport's history that's now ready for the final vote.