Mr Leader blamed his relationship with mayor Peter Davies for his resignation
The acting chief executive of Doncaster Council has left his job just two months after taking the position.
Tim Leader was appointed to the council after its chief executive quit following the brutal attack of two boys by two young brothers in Edlington.
The town's elected mayor, Peter Davies, has been open in his disapproval of Mr Leader and had urged him to quit.
Mr Leader, who has received a pay off of nearly £69,000, said he felt "gutted" to be stepping down.
He blamed his relationship with the mayor for his decision.
"There's been a lot of differences between myself and Peter Davies since I was appointed and we've worked very hard to try and sort those differences out.
"I'm afraid at the end of the day we couldn't do so."
He described Mr Davies as "a man of integrity and a man of strong views".
He added: "I'm very disappointed, I'm gutted frankly, because I love the job, I love the town and I wished I could have stayed."
The council is the subject of an Audit Commission report which is due to be published soon and is expected to be critical. Mr Leader denied jumping ship before the report was out.
Mr Davies was unhappy over Mr Leader's appointment
"It's possible the report will be critical about me and the way I was appointed and I have to recognise that," he said.
"But the reality is, I need to make way for somebody else who will have the mayor's support."
He added: "I brought it [the resignation] forward to save Doncaster Council a lot of time, trouble, and frankly more harm to its reputation, and hopefully I'm doing the right thing."
Doncaster Council said Mr Leader would receive his contractual notice pay and compensation for loss of office, which would amount to £68,508.
A council spokeswoman said Jo Miller, Deputy Chief Executive of the Local Government Association, had been appointed to replace Mr Leader on a secondment basis.
Mr Davies said: "I look forward to welcoming Jo Miller to Doncaster for the coming few weeks.
"The council needs to move on from this now and work together in the challenge of meeting any recommendations arising from the recent corporate governance inspection."