South Sudan backs independence - results
Southern Sudan voted overwhelmingly for independence, election officials have confirmed.
They said nearly 99% of the voters in January's referendum were in favour of dividing Africa's biggest country.
Earlier, Sudanese President Omar al-Bashir again said he would accept the outcome of the vote.
The poll was agreed as part of a 2005 peace agreement ending more than two decades of civil war between the south and north Sudan.
Although the vote was peaceful, tension remains high in parts of the oil-rich border region.
At least 50 people were killed over the weekend in fighting between soldiers in south Sudan's Upper Nile state.
On Monday, the Southern Sudan Referendum Commission announced in Khartoum that 98.83% of the voters had backed independence.
At The Scene
There is a euphoric atmosphere in south Sudan's capital.
About 1,000 people have gathered in the dark at the grave of former rebel leader John Garang, the first president of the south, to watch the announcement on an outdoor cinema screen.
People are waving south Sudan's flag and cheering every announcement.
"We are going to take to the streets and celebrate until dawn," said Peter Deng, a youth leader. "All us here grew up during the war, so we are so happy to be celebrating our freedom in peace."
Many in the south have already privately been celebrating the results, which have filtered out in recent days.
"This is what happens when you oppress and marginalise a people for over 50 years," said Puok Dieu, who fought in the civil war. "One day those people will rise up and say: 'It is enough.'"
"The results of the referendum mean I am free today," said Abiong Nyok, a housewife. "Now I am a first class citizen in my own country."
"Those who voted for unity were 44,888, that is, 1.17%. Those who voted for separation were 3,792,518, that is, 98.83%," commission head Mohamed Ibrahim Khalil said.
The BBC's Peter Martell in the southern capital Juba, says some people have spent most of the day getting ready to celebrate the announcement.
"Now I am a first class citizen in my own country," housewife Abiong Nyok told the BBC.
One woman - a northerner - cried after the announcement, saying she had relatives in the south, the BBC's James Copnall in Khartoum says.
Earlier on Monday, President Bashir reiterated that he would accept the outcome of the vote, allaying fears that the split could re-ignite conflict over the control of the south's oil reserves.
"We accept and welcome these results because they represent the will of the southern people," Mr Bashir said on state TV.
James Copnall says the president has made similar comments before, but this firm and public commitment will reassure any southerners still wondering whether Khartoum would go back on its word.
The president said he was committed to good relations with the future Southern state. The US has said it will remove Sudan from a list of countries it accuses of sponsoring terrorism if the referendum goes well.
South Sudan's leader Salva Kiir pledged co-operation with Khartoum in the future, saying there were "many things that connect the north and the south".
"The (freedom) of the south is not the end of the road, because we cannot be enemies. We must build strong relations," said Mr Kiir, who is also Sudan's Vice-President.
In Washington, President Barack Obama congratulated the people of Southern Sudan for "a successful and inspiring" referendum, saying the US intended to formally recognise Southern Sudan in July.
British Prime Minister David Cameron welcomed the announcement of the poll's result, saying both "North and South now need to work together to implement the remaining provisions" of the 2005 peace deal.
A European Union representative in Sudan said the bloc "looks forward to further developing a close and long- term partnership with Southern Sudan".
UN Secretary General Ban Ki-moon urged the international community "to assist all Sudanese towards greater stability and development" and offered the UN's help to both sides, the AFP news agency reports.Challenges ahead
In the last half century southerners have fought two devastating civil wars with Khartoum, in which more than two million people are estimated to have died.
The south sees itself as different in cultural, religious and ethnic terms from the north, and believes it has suffered years of discrimination.
The BBC's James Copnall says the announcement of the final results will not be the end of the process.
Issues including the disputed border region of Abyei, citizenship, legal matters and resources like oil will need to be negotiated.
Though it is rich in oil, Southern Sudan is one of the least-developed regions on earth, and ethnic tensions and troubled relations with the north will provide constant security challenges.
Our reporter says that many southerners feel what they consider a forced union with the rest of Sudan has been a catastrophe.
He says that although when Southern Sudan becomes independent in July it will face huge problems, the dominant emotion for southerners once the results are announced will surely be one of huge joy.
The formal declaration of independence will be made on 9 July 2011 - six years after the peace deal, which led to the referendum, took effect.
Both Sudan and the South are reliant on their oil revenues, which account for 98% of South Sudan's budget. But the two countries cannot agree how to divide the oil wealth of the former united state. Some 75% of the oil lies in the South but all the pipelines run north. It is feared that disputes over oil could lead the two neighbours to return to war.
Although they were united for many years, the two Sudans were always very different. The great divide is visible even from space, as this Nasa satellite image shows. The northern states are a blanket of desert, broken only by the fertile Nile corridor. South Sudan is covered by green swathes of grassland, swamps and tropical forest.
Sudan's arid north is mainly home to Arabic-speaking Muslims. But in South Sudan there is no dominant culture. The Dinkas and the Nuers are the largest of more than 200 ethnic groups, each with its own languages and traditional beliefs, alongside Christianity and Islam.
The health inequalities in Sudan are illustrated by infant mortality rates. In South Sudan, one in 10 children die before their first birthday. Whereas in the more developed northern states, such as Gezira and White Nile, half of those children would be expected to survive.
The gulf in water resources between north and south is stark. In Khartoum, River Nile, and Gezira states, two-thirds of people have access to piped drinking water and pit latrines. In the south, boreholes and unprotected wells are the main drinking sources. More than 80% of southerners have no toilet facilities whatsoever.
Throughout the two Sudans, access to primary school education is strongly linked to household earnings. In the poorest parts of the south, less than 1% of children finish primary school. Whereas in the wealthier north, up to 50% of children complete primary level education.
Conflict and poverty are the main causes of food insecurity in both countries. In Sudan, many of the residents of war-affected Darfur and the border states of Blue Nile and South Kordofan, depend on food aid. The UN said about 2.8m people in South Sudan would require food aid in 2013. The northern states tend to be wealthier, more urbanised and less reliant on agriculture.