Carolyn Harris has won the Welsh Labour deputy leadership election.
The Swansea East MP won the overall electoral college for the contest, despite winning fewer votes from members than Cardiff North AM Julie Morgan.
The result was announced at the Welsh Labour Conference in Llandudno
The election - the first for a deputy leader in Welsh Labour - was held under an electoral college, where the votes of party members are weighed alongside trade unions, affiliated organisations, and elected parliamentarians.
Ms Harris told delegates that the result had "knocked me sideways".
"But while I always hoped I could win, I've never quite believed I would. Which makes this moment all the more special," she said.
"I would of course like to pay tribute to Julie Morgan, who brought to this campaign the same energy, passion and commitment that has characterised her lifetime's service to Welsh Labour. I look forward to campaigning with her for Welsh Labour in the months and years ahead.
"I will never forget the trust that members of our Welsh Labour family - members, Trade Unionists and affiliates - have placed in me."