Pope Francis has told worshippers in a mosque in the Central African Republic that "Christians and Muslims are brothers and sisters".
He was speaking to Muslims who had sought shelter in the capital Bangui after nearly three years of violence between Christians and Muslims.
The mosque visit was seen as perhaps the most difficult part of his Africa tour, a BBC correspondent says
Pope Francis then held the final Mass of his Africa trip in Bangui.
He was speaking in Latin, which was then translated into the local Sango language.
His message of reconciliation appeared to have an immediate impact, as a reporter from the AFP news agency spotted a group of Muslim rebels turn up at the Mass wearing t-shirts with the Pope's image on them.
The Pope has now left the CAR at the end of his six-day visit to the continent.
More than 100,000 Muslims fled the capital as a result of the fighting but 15,000 are left in an area called PK5, according to the campaign group Human Rights Watch.
Imam Tidiani Moussa Naibi thanked the Pope for his visit and said it was "a symbol which we all understand", the AP news agency reports.
There was tight security for the visit to the Koudoukou mosque and armed UN peacekeepers were stationed on its minarets watching the crowds who had come to greet the pontiff.
On Sunday, the Pope called on fighting factions in the CAR to lay down their weapons.
About half of CAR's population is Christian and 15% Muslim.
Children waited to greet Pope Francis at the mosque in Bangui
Crowds turned out to see the Pope as he drove into the PK5 neighbourhood
Celebrating Mass in Bangui, he said they should instead arm themselves "with justice, love, mercy and authentic peace".
Earlier, he said he hoped next month's election in the CAR would open a "new chapter" for the country.
The trip to the CAR was the pontiff's first visit to a conflict zone and the final stop on his three-nation African tour that also took in Kenya and Uganda.
Conflict has blighted the CAR for decades but it was only in 2013 that the fighting took on a religious form.
President Francois Bozize was ousted in a coup in March 2013 and a group of mostly Muslim rebels from the north, the Seleka, marched on Bangui, briefly taking control of the country.
Their rebellion tapped into a feeling northerners had of being excluded and unrepresented by the central government, correspondents say.
They targeted churches and Christian communities, which triggered the creation of the anti-Balaka - meaning anti-violence - militias, and led to a downward spiral of tit-for-tat violence which continues.
Towns and villages are divided, with hundreds of thousands of people displaced into camps divided along religious lines.
Latest Stories
-
Today’s front pages: Monday, January 13, 2025
9 seconds -
Samson’s Take: Punish the criminal ‘vigilante’ takeovers
10 minutes -
Kwasi Siaw: Pioneering African talent management with HC Talent
12 minutes -
Damongo: NDC youth allegedly shuts down community mechanised borehole
2 hours -
Mahama vows to uncap NHIS levy in upcoming budget
2 hours -
‘God is telling you to lead through difficult times’, says Rev. Wengam to Mahama
2 hours -
Appiah-Kubi calls on Mahama to review 60-Minister pledge if governance requires
2 hours -
Aklerh makes a ‘Mash Up’ move
2 hours -
No business as usual – Mahama warns appointees
2 hours -
Mr P.O.P: Message from the Morning Man by Kojo Yankson
2 hours -
True peace stems from justice, not the lack of conflict – Duncan-Williams
2 hours -
One dead, student rider injured in a crash at Assin Andoe
2 hours -
Have a long term plan and financial solution for Ghana’s energy sector to permanently get rid of “dumsor”.
3 hours -
Ghana to commission first NuScale small modular reactor simulator training centre in Africa
3 hours -
FirstBank celebrates year-end thanksgiving service at Victory Bible Church
3 hours