Pope Francis has arrived in Kenya for a three-nation African tour – his first to the continent as pontiff.
President Uhuru Kenyatta and ululating crowds welcomed him at the airport in the capital, Nairobi.
An atheist group says it will challenge in court a government decision to declare today a holiday in honour of the pontiff.
A leading Muslim cleric in Kenya welcomed the visit, saying it gave hope to the “downtrodden in the slums”.
Pope Francis is also due to visit Uganda and Central African Republic, which has been hit by Christian-Muslim conflict.
“I go with joy to meet Kenyans, Ugandans and our brothers in Central Africa,” he told journalists on his plane, the Associated Press News Agency reports.
He played down security fears by joking: “I’m more worried about the mosquitoes.”
Kenya’s government has said that up to 10,000 police officers may be deployed during the visit.
Militant Islamists have carried out a spate of attacks in Kenya – including the 2013 siege at Nairobi’s Westgate shopping centre, which left at least 67 dead, and the killing of about 150 people during an assault on the Garissa National University College in April this year.
The BBC’s Joseph Odhiambo in Nairobi says about 30per cent of Kenyans – including President Kenyatta – are baptised Catholics, and there is huge excitement around the visit.
Crowds lined the streets of Nairobi to catch a glimpse of the pope as he was driven in a grey Honda saloon to Mr Kenyatta’s office for his official engagement.
One of Kenya’s main newspapers, The Standard, welcomed him with headlines in Latin, Grata Franciscus Pontifex, and the regional Swahili language, Karibu Papa Francis.
The Pope is expected to tackle corruption, poverty and religious conflict during his visit, which will start with a meeting with President Kenyatta.
Abdalla Kwamana, the vice-chairman of the Supreme Council of Kenya Muslims, said he would attend an inter-faith meeting the pontiff is hosting today.
He described the visit as highly significant, and welcomed the Pope’s decision to include a shantytown in his itinerary.
“It is often said that Kenya is owned by the rich and powerful. The people in the slums are never recognised,” Mr Kwamana told the BBC’s Newsday programme.
“When he goes to see them and console them, they’ll feel they are people of substance,” he added.