Updated

An African Union official says Sudan and South Sudan have agreed to resume talks over issues that brought the two nations to the brink of war: sharing oil wealth and establishing their border.

Ramtane Lamamra said Friday that the resumption of talks has been confirmed.

U.N. Secretary-General Ban Ki-moon says he welcomes the resumption of talks in Addis Ababa, Ethiopia next week. Ban urged the parties to demonstrate flexibility during the talks.

South Sudan voted last year to break away from Sudan, becoming the world's newest nation. But the two sides never agreed on how to share oil revenues or the exact demarcation of the border.

Violence recently flared between the nations along their contested border, raising fears of a return to all-out war.