Sinn Féin’s John O’Dowd has lost his bid to unseat Michelle O’Neill from her position as vice president of the party.
In August, the long-standing assembly member said he would challenge Ms O’Neill.
Party members voted on Saturday at the annual Sinn Féin Ard Fheis (party conference).
Mr O’Dowd congratulated Mrs O’Neill and said he looked forward to working with her.
Several high-profile Sinn Féin members had spoken publicly about who they would be supporting, with Michelle Gildernew coming out in favour of Mr O’Dowd while Francie Molloy said it was the “wrong time” for a leadership contest.
There were no public hustings ahead of the formal vote, and Mr O’Dowd did not give any media interviews explaining his decision to challenge Mrs O’Neill.
Mrs O’Neill was given her first leadership position by the party in 2017 when she took over from Martin McGuinness who stepped down due to illness.
She was announced as Sinn Féin’s new Stormont leader on 23 January that year, two months before the death of Mr McGuinness.
Mrs McDonald was elected as party president, replacing Gerry Adams who stepped down after 35 years.
Mr O’Dowd briefly filled in as deputy first minister in 2011, when Mr McGuinness ran as a candidate in the Irish presidential elections.