Juba - UN Secretary-General Ban Ki-moon urged Sudan and South Sudan on Thursday to step back from the brink of war and return to the negotiating table.
Ban called on South Sudan to immediately withdraw its forces from the oil-rich Heglig area, calling their invasion "an infringement on the sovereignty of Sudan and a clearly illegal act".
He called on the government of Sudan to immediately stop shelling and bombing South Sudanese territory and withdraw its forces from disputed territories including Abyei.
The secretary-general said both countries "must stop supporting proxy forces against each other".
He spoke to reporters in New York on Thursday as the Arab League announced it would hold an emergency meeting over the increasing violence between the two countries.
‘Spirit of jihad’
On the ground, the south reported new skirmishes and Sudan's President Omar al-Bashir increased his threats of war toward the south.
Al-Bashir said the recent violence has "revived the spirit of jihad" in Sudan.
South Sudan said it had repulsed four attacks from Sudan over a 24-hour period as fighting on the border showed no signs of slowing.
"This is not the time for war," the UN secretary-general said. "This is a time for leadership, for engagement, for negotiation - in the name of humanity, and in the interests of the people of both countries and the region."
"The last thing the people of these two countries need is another war - a war that could claim countless lives, destroy hope and ruin the prospects of peace and stability and prosperity of all Sudanese people," Ban said.
South Sudan ‘defending territory’
Acting on a request by Sudan, the Arab League scheduled an emergency meeting of foreign ministers in Cairo next week to discuss the violence, Deputy Arab League Secretary-General Ahmed bin Helli said.
Despite the threats from Sudan, a southern government spokesperson said South Sudan was only defending its territory and considers Sudan a "friendly nation".
South Sudan military spokesperson Colonel Philip Aguer said three of the attacks were on Wednesday and one was on Thursday. He did not give a death toll.
South Sudan broke away from Sudan last year after a self-determination vote for independence. That vote was guaranteed in a mediated end to decades of civil war between the two sides.
But the sides never fully agreed where their shared border lay, nor did they reach agreement on how to share oil wealth that is pumped from the border region.
Instead, the two countries have seen a sharp increase in violence in recent weeks, especially around the oil-producing town of Heglig. Both sides claim Heglig as their own. It lies in a region where the border was never clearly defined.
Al-Bashir threatens fight
Aguer said southern troops repulsed one attack by Sudanese troops near Heglig on Wednesday and two attacks in Northern Bahr el Ghazal state. One was repulsed in Western Bahr el Ghazal state early on Thursday, he said.
Al-Bashir on Wednesday threatened to topple the South Sudan government after accusing the south of trying to take down his Khartoum-based government.
He continued his hardline rhetoric on Thursday in an address to a "popular defence" brigade headed to the Heglig area. The ceremony was held in al-Obeid, in northern Kordofan.
"Sudan will cut off the hand that harms it," said al-Bashir, a career army officer who fought against the southern army, the Sudan People's Liberation Army, during the 1983-2005 civil war. Al-Bashir seized power in a 1989 military coup.
In Khartoum, the pro-government Sudanese Media Centre said on Wednesday that fighting broke out between the two nations in the Al-Meram area in South Kordofan.
It said northern troops chased away SPLA fighters who fled across the border into South Sudan.
Al-Bashir accused of genocide
South Sudan government spokesperson Barnaba Marial Benjamin said that southern forces would withdraw from Heglig if the African Union guarantees a cessation of hostilities, an agreement on border demarcation, and the withdrawal of Sudanese forces from the nearby border region of Abyei, with Ethiopian troops moving in as peacekeepers.
Benjamin said that al-Bashir is carrying out "genocide" against Sudanese people in the Darfur, South Kordofan and Blue Nile regions of Sudan. He said al-Bashir's words Wednesday were a warning that he would like to do the same in South Sudan.
"Can they quote one war fought by the Republic of Sudan fought with any foreign country? They have always used their military artillery to kill the innocent people of Sudan as well as South Sudan," Benjamin said.
The International Crisis Group said in a new analysis on Thursday that Sudan and South Sudan are "teetering on the brink of all-out war from which neither would benefit". It said an immediate cease-fire is needed, then solutions to the unresolved post-referendum issues.
"Increasingly angry rhetoric, support for each other's rebels, poor command and control, and brinkmanship, risk escalating limited and contained conflict into a full-scale confrontation," the group said.