Gambia’s former President Yahya Jammeh has left the country in the wake of elections that ousted him after 22 years in power.

Mr Jammeh was defeated in December’s election by Adama Barrow but he went on to challenge the results.

But two days after Mr Barrow was sworn in, Mr Jammeh left on a plane reportedly bound for Guinea.

Mr Barrow told the BBC that he would be returning to his homeland “sooner than later”.

In an interview with the BBC on Saturday, he said he wanted to create a truth and reconciliation committee to investigate allegations of human rights abuses during Mr Jammeh’s time in office.

Yahya Jammeh arrived at the airport amid a large convoy of vehicles and throngs of cheering supporters.

He stood on a small platform to hear ceremonial music performed by a military band and then walked down a long red carpet surrounded by dignitaries.

He climbed the steps to the plane, turned and kissed and waved a Koran at those assembled.

After 22 years in power, he left bound for Guinea where it’s believed he will stay before going on to another country.

Soldiers, supporters and dignitaries were emotional as he left – many of them crying. Many others in The Gambia are glad to see the end of what they considered a dictatorship, where there was little respect for human rights or freedom of speech

The details of the arrangements made – or promises offered to persuade Mr Jammeh to give up power peacefully are not yet known, but there was the real threat of military action from regional states.

He’s the first president to peacefully hand over power in The Gambia since independence from Britain in 1965.

Mr Barrow has been in neighbouring Senegal for days and was inaugurated as president in the Gambian embassy there on Thursday.

Troops from several West African nations, including Senegal, had been deployed in The Gambia, threatening to drive Mr Jammeh out of office if he did not agree to go.

Mr Jammeh’s decision to quit came after talks with the presidents of Guinea and Mauritania.

Guinea’s President Alpha Conde is with Mr Jammeh and his wife on the plane that left Banjul late on Saturday.