South Sudan's government and rebels have signed a long-awaited peace agreement, hours before the expiration of a deadline threatening international sanctions.
The agreement was signed on Sunday by Pagan Amum, the secretary-general of South Sudan's ruling party, and rebel chief Riek Machar in the Ethiopian capital, AFP reported.
South Sudan's President Salva Kiir, who briefly shook hands with Machar, watched the signing.
The Monday deadline had been set by the regional eight-nation bloc of East African Intergovernmental Authority on Development (IGAD), which mediated the talks.
South Sudan plunged into chaos in December 2013, when fighting erupted between troops loyal to Kiir and defectors led by his former deputy, Machar, around the capital, Juba. The clashes left thousands of people dead and forced almost two million people from their homes.
At least seven ceasefires have already been agreed and soon broken.
Last week, powerful rebel general Peter Gadet and other key commanders accused Machar of seeking monopoly of power, and said they would not recognize any agreement, which could be signed in Addis Ababa.
The peace talks were also joined by Kenyan President Uhuru Kenyatta, Ethiopian Prime Minister Hailemariam Desalegn, who hosted the negotiations, Ugandan President Yoweri Museveni, and Sudanese President Omar al-Bashir.