The Gambia’s President-elect Adama Barrow has taken the oath of office at his country’s embassy in neighbouring Senegal.
The ceremony was administered by Sheriff Tambadou, president of the Gambian Bar Association.
The tiny West African state now has two men claiming to be president. Its parliament voted earlier this week to extend Yahya Jammeh’s rule by 90 days while he challenges his election defeat at the hands of Mr Barrow, a former estate agent, in the courts.
Regional forces, led by Senegal, have threatened to enter the country to oust Mr Jammeh.
The Gambia, popular with European tourists because of its beaches, has never had a smooth transfer of power since independence from Britain in 1965.
Adama Barrow, the man who won The Gambia’s disputed election, has been sworn in as president.
He took the oath at the country’s embassy in neighbouring Senegal.
He has been recognised internationally. But Gambian strongman Yahya Jammeh has refused to step down and his term in office has been extended by parliament.
West African leaders have tried to persuade Mr Jammeh to admit losing the election on 1 December. They have threatened to remove him by force.
Mr Jammeh lost the poll, according to the country’s electoral commission. But he wants the results annulled citing errors in the electoral process.
Western ambassadors to Senegal attended the ceremony, while hundreds of Gambian expatriates gathered outside the compound.
West African military forces, stationed at the border, say they are ready to enforce a transfer of power in The Gambia, a popular beach destination among European holidaymakers.
UN Security Council backing for intervention is being sought by Senegal and the regional bloc Ecowas, but some diplomats said if Mr Barrow, 51, requested help after his inauguration such approval would not be needed.
Meanwhile, Mr Jammeh’s term in office has been extended by a two-third majority in parliament, and some experts say he still has a legitimate claimed to be called the country’s president.
At the scene – Thomas Fessy, BBC News, Banjul
It is eerily quiet in The Gambia’s capital. Most streets are deserted; shops, petrol stations and banks are all closed. People are mostly staying home uncertain about what may happen as European tourists continue to evacuate their hotels.
In some areas, men are standing on the roadside, arms crossed or looking at their phones. Some told us they were waiting for President Jammeh to go and would take to the streets once Mr Barrow was sworn in this afternoon.
They said they wanted West African troops to come in as soon as possible. Some also told us they were worried about Mr Jammeh’s actions should there be an offensive against him. But so far we have seen little presence of security forces in the city.
Could there be conflict? – Joseph Winter, BBC News
Hopefully not. The Gambia’s army chief, previously seen as a close ally of Mr Jammeh, seems wary of action. “This is a political dispute. I am not going to involve my soldiers in a stupid fight. I love my men,” the AFP news agency quotes Ousman Badjie as saying.
However, he has little influence over an elite unit of fighters, called the Gambia National Guard, who may opt to fight even if vastly outnumbered by the Senegalese and Nigerian forces as they are from the same ethnic group as Mr Jammeh. The Gambia’s armed forces is said to number 2,500.
Image captionOne key question is how ordinary Gambians see the Senegalese troops if they do cross the border. The Gambia and Senegal are made up of the same ethnic groups which were divided by colonial borders, so they speak the same languages and share the same culture.
However, a fierce rivalry has developed between the two nations, with many Gambians feeling they are looked down on by their more numerous, French-speaking neighbours.
So while supporters of Mr Barrow will presumably see any intervention favourably, there is also a danger that it could be seen as a foreign invasion force.
Why is Mr Barrow in Senegal?
Mr Barrow, a property developer who has never held public office, has been in Senegal since the weekend following an invitation to attend a summit of African leaders who back his victory.
He did not even go back home when his eight-year-old son died after being mauled by a dog. He missed the funeral on Monday as he was advised to remain in Senegal for his safety.
The president-elect tweeted and posted on Facebook that his inauguration would take place at 16:00 GMT at the embassy in the capital, Dakar.
He has joined at least 26,000 Gambians, fearful of violence, who have sought refuge in Senegal.
His spokesman says Mr Barrow’s team is keen for a peaceful resolution, but accepts military intervention may be inevitable.
“Ecowas is on the side of President Barrow – and if he’s sworn in obviously he has to be at the State House. If the other side refused then you are simply talking about a state of war,” Halifa Sallah told the BBC’s Newshour programme.
He said that President Jammeh had been given a letter promising that he would be given the same rights and privileges as Dawda Jawara, The Gambia’s only other ex-president.
Why is Mr Jammeh refusing to stand down?
Mr Jammeh, who first came to power in a bloodless coup 22 years ago, initially accepted defeat, but later reversed his position.
Media captionThe rise and fall of Yahya Jammeh
The electoral commission has accepted that some of the results it initially published contained errors, but said they would not have affected Mr Barrow’s win.
His legal challenge to have the vote annulled cannot be heard by the Supreme Court until May because of a lack of judges, so parliament has stepped in and extended his term in office by 90 days and imposed a three-month state of emergency.
Human rights groups accuse Mr Jammeh, who has in the past claimed he can cure Aids and infertility, of repression.
Retaining power would also ensure he was not prosecuted in The Gambia for alleged abuses committed during his rule.