Yemeni President Ali Abdullah Saleh has arrived in the Saudi capital, Riyadh, to sign a deal under which he will step down, Yemen’s state-run TV says.
Under the agreement, brokered by Yemen’s six Gulf Arab neighbours, Mr Saleh is to transfer his powers to his deputy ahead of an early election.
The president has been facing protests since the beginning of the year.
He has come close to signing a deal several times in the past, only to pull out at the last minute.
Mr Saleh returned to Yemen unexpectedly from Saudi Arabia two months ago, after surviving an attack on his compound in June.
The government crackdown has left hundreds dead and thousands wounded.
What began as peaceful protests against President Saleh – who has been in power since 1978 – has increasingly degenerated into armed conflict involving different tribes and militias.
Five or six provinces are no longer under government control.