South Sudanese rebel chief Riek Machar on Thursday approved a peace deal with Juba that is expected to be formally signed at a summit of regional leaders, a Sudanese mediator said.
Machar and arch-foe South Sudan's President Salva Kiir have held weeks of talks in Khartoum in search of a comprehensive peace deal to end the conflict, which has killed tens of thousands and displaced millions since 2013.
The warring parties have already inked several agreements, including a permanent ceasefire and a power-sharing deal that sees Machar returning as first vice president.
Machar had initially refused to approve the deal on Tuesday, before finally agreeing to it after mediation by Khartoum.
The deal has already been approved by Juba, and on Thursday Machar's group and representatives of some other rebel factions including the former detainees signed it.
Sudanese foreign minister Aldirdiri Mohamed Ahmed told the press that negotiations in Khartoum that have taken more than two months have now ended.
“By the signing of this deal we announced the end of the talks and the beginning of new era without conflict in South Sudan" he said.
Ahmed said the formal signing of the peace deal will take place at a summit of Igad, the East African bloc that has pushed the latest initiative to end the war.
However, Machar's spokesman Manawa Peter said some concerns remain but have been registered and will be submitted at the Igad summit.
"The date for the summit will be announced soon," Sudanese minister said.
On Tuesday, Machar's group and the South Sudan Opposition Alliance said they had some reservations concerning the accord that had not been acknowledged.
The rebels had differences over the functioning of a proposed transitional government, how many states the country should be divided into and on the writing of a new constitution.
"The concerns of these parties will be discussed at the Igad summit," Ahmed confirmed.
Earlier this month, Kiir and Machar signed a power-sharing deal that will see the rebel leader return as the first of five vice presidents.
That accord paved the way for drafting of a final peace deal and is expected to lead to the formation of a transitional government to be in power until elections are held.
South Sudan spiralled into a devastating civil war little over two years after it became independent from Sudan in 2011.
The conflict pitted Kiir against Machar after Kiir accused his former deputy of plotting a coup.
It has seen widespread rape and murder of civilians, often along ethnic lines, and uprooted roughly a third of the population.
A succession of peace deals have been signed between the two leaders only to be broken, most recently in December.
-Additional reporting by NMG's Mohammed Amin in Khartoum