Controversial Oranga Tamariki chief executive Grainne Moss has decided to step down.
It comes after repeated calls for her to resign amid a number of scathing reports bringing the Ministry into question.
Moss has been under pressure since a Newsroom investigation into attempts by social workers to remove a week-old baby from its mother in Hawke's Bay sparked multiple inquiries and reports.
In a statement, Moss said it has been a privilege to lead the ministry for over four years through a time of significant transformation, challenge and change.
However, it was the right time for the agency for her to step down and make way for new leadership.
"I feel the focus has been on me rather than how we work together to improve the well-being of children," she said.
Public Service Commissioner Peter Hughes said Moss is a dedicated public servant and leader who had made a number of significant improvements in what was one of the biggest and toughest roles in the public service.
"I commend Mrs Moss for doing what is, at this time, in the best interests of the agency," Hughes said.
"What she has done today is selfless."
She has accepted a new role as the chief executive leading the public service's pay equity work.
"Mrs Moss led the successful pay equity claim for social workers at Oranga Tamariki- Ministry for Children and was also part of the team which developed and delivered pay equity to aged care workers. As such she has significant experience and expertise," Hughes said.
Sir Wira Gardiner set to take over temporarily
Sir Wira Gardiner will step in as acting chief executive while the recruitment process for a new head will be underway shortly.
Sir Wira (Ngāti Awa, Ngāti Pikiao, Te Whānau-ā-Apanui and Te Whakatōhea) has been involved in significant interactions between the Crown and iwi on Treaty settlements and negotiating between parties on complex issues.
He was the founding director of the Waitangi Tribunal, head of the Iwi Transition Agency, and founding chief executive of Te Puni Kōkiri, the Ministry of Māori Development.
Last month, one of Oranga Tamariki's most senior Māori leaders, Hoani Lambert, resigned, saying that his departure was not a protest against Moss.
When asked last year about rumours of her departure, Moss remained adamant she had the confidence of her leadership team and was committed to her work at the ministry.
The Minister for Children, Kelvin Davis, has refused to express his confidence in Moss.
On 14 December when Moss confirmed Lambert had resigned, she said she would not step down.
She said she was looking forward to continuing the work of Oranga Tamariki.
In November Moss also refused to step down following a submission to the Waitangi Tribunal's urgent inquiry into Oranga Tamariki in which she admitted the children's ministry was yet to eliminate structural racism, or fully adopt the recommendations of a 1998 report.
Dame Tariana Turia is among those who have insisted Moss should step aside.
During the Waitangi Tribunal hearing investigating the ministry's role in uplifting Māori babies from their whānau Dame Tariana said Moss "kept on blaming the Crown" for the shortcomings at Oranga Tamariki which was an unusual approach.
She said she did not have confidence in Moss.