The UN Security Council has unanimously adopted a resolution that gives Sudan and South Sudan 48 hours to halt hostilities and start peace negotiations.
The U.S.-drafted resolution calls on the two countries, which split last year, to "immediately cease all hostilities" and withdraw troops to their own territory.
It says they must give a written pledge within 48 hours to the African Union and the Security Council.
The council told the two sides to start peace talks within two weeks under African Union mediation.
The resolution threatens "additional measures" if either side fails to comply.
Sudan and South Sudan separated in July last year, but have not yet reached a border agreement or an accord on how to share revenue from oil reserves.
based on reporting by AFP, dpa, and Reuters