The leaders of Sudan and South Sudan have agreed deals on trade, oil and security, easing tensions that brought them to the brink of war in April.
Omar al-Bashir and Southern counterpart Salva Kiir signed the accords after days of talks in Ethiopia’s capital.
They agreed to set up a demilitarised buffer zone, and concluded other deals that may allow oil sales to resume.
But the sides have not thrashed out border issues including the flashpoint region of Abyei that they both claim.
South Sudan gained independence last year after more than two decades of civil war.
Mr Kiir said the agreements signed on Thursday brought to an end the long conflict and hailed a “great day in the history of the region”.
Mr Bashir described his Southern counterpart as a “partner in peace” and hinted that there would be talks to open the border.