Brazil crowds greet Pope Francis in Rio de Janeiro
Pope Francis has been greeted by tens of thousands of Brazilian pilgrims as he began his first trip abroad since becoming head of the Catholic Church.
The first Latin American Pope toured Rio de Janeiro in an open car and then met President Dilma Rousseff at the state governor's palace.
After he left, police fired tear gas to disperse protests against both the government and the cost of the visit.
He is in Brazil to attend the Roman Catholic World Youth Day festival.
In a speech soon after his arrival, the Pope urged young Catholics to "make disciples of all nations".
"I came to meet young people coming from all over the world, drawn to the open arms of Christ the Redeemer," he said at the governor's palace, referring to Rio's famous vast statue of Jesus.
"They want to find a refuge in his embrace, right near his heart to hear his call clearly and powerfully."
About an hour after the welcoming ceremony, police fired stun grenades and tear gas against the demonstrators outside the palace.
It was the latest rally against what the protesters described as endemic government corruption across the country.
But some were also unhappy about $53m (£34m) in public fund being spent for the pontiff's visit.
There was little damage and few arrests, but it was a reminder that there is still a real possibility the pontiff's high-profile visit to a huge Catholic festival in Rio could be overshadowed by political events, the BBC's Wyre Davies reports from Rio.
In a separate development, the military said a homemade explosive device had been discovered at a shrine between Rio and Sao Paulo that the Pope is due to visit on Wednesday.
The device at the Shrine of Our Lady of the Conception of Aparecida was described as being "of low power" and was destroyed.
Relaxed and jovial
As Pope Francis disembarked from the Alitalia plane in Rio's airport earlier on Monday, he was welcomed by President Rousseff to cheers and applause from the waiting crowd. A choir sang an anthem linked to Youth Day and he was presented with a bouquet of flowers.
The Pope waved before being taken by motorcade to the centre of Rio, where thousands of pilgrims have gathered.
Pope Francis looked relaxed and jovial as he was driven into Rio de Janeiro in a modest family car, with the window wound down and security officials struggling to keep back the crowds, our correspondent says.
There were chaotic scenes as his car became stuck in one of the city's infamous traffic jams, after the pope's driver reportedly took the wrong turn and missed lanes that had been cleared by the security services.
Crowds immediately gathered round the vehicle hoping to catch a glimpse or touch Pope Francis. One woman passed her baby through the window for a kiss from the Holy Father.
Once in the city centre, the Pope switched to an open-air Popemobile, waving at the tens of thousands who lined the streets he travelled through.
"I can't travel to Rome, but he came here to make my country better... and to deepen our faith," said a tearful 73-year-old Idaclea Rangel.
The authorities have increased security during the Pope's seven-day visit, following weeks of nationwide protests against corruption and bad governance.
Pope Francis refused to use an armoured Popemobile, despite requests from Brazilian officials. Some 30,000 security staff - army and police are on duty throughout his visit.
More than a million young Catholics are expected to gather in Rio for World Youth Day, which takes place every two years, and is a celebration of the Catholic faith.
The Argentina-born Pope - who became head of the Catholic Church in March - is due to lead a prayer service on Copacabana beach on Thursday. He will also visit one of Rio's shanty towns.
Speaking to reporters on his flight from Rome, the Pope said young people were "at this moment are in crisis," in an apparent reference to the continuing economic crisis across Europe.
"We run the risk of having a generation that hasn't worked," he said, even though work confers dignity.
He also criticised what he said was a "culture" of socially rejecting the elderly who were "thrown away" as if they had nothing to offer.
Guanabara Palace (22 July)
When Pope Francis arrives in Rio, he will attend a welcome ceremony in Guanabara Palace. Guests will include Brazillian President Dilma Rousseff.
Sumare Centre (22 July)
The catholic education institution will be the Pope's residence during his stay in Rio.
Our Lady of Aparecida Basilica (24 July)
The Pope travels to the National Shrine of Our Lady of Aparecida in the city of Aparecida do Norte, the largest Marian pilgrimage centre in the world. He will celebrate a mass there and return to Rio on the same day.
St. Francis of Assisi Hospital (24 July)
As soon as he returns from Aparecida do Norte, the pontiff will inaugurate a special ward for the treatment of drug addicts, built with donations from the Vatican.
City Palace (25 July)
The Pope will be handed the keys to the city from mayor Eduardo Paes. Later, he will bless the Olympic flags for Rio 2016.
Varginha slum, Manguinhos (25 July)
Pope Francis visits the community living in the Varginha slum and will make a speech in a local football field.
Copacabana beach (25-26 July)
The Pope will greet the participants of the Church's World Youth Day on 25 July. The next day, they will join him in a Way of the Cross procession at the beach.
Quinta da Boa Vista (26 July)
The Pope receives the confession of five youngsters in a house that was used by Brazil's royal family members.
St. Joachim Archiepiscopal Palace (26 July)
The pontiff will meet young prisoners. After that, he will deliver the Angelus prayer and blessing from the palace balcony and meet youngsters from the organising committee of World Youth Day for lunch.
Rio de Janeiro Municipal Theatre (27 July)
Pope Francis meets politicians and local dignitaries.
Campus Fidei, Guaratiba (27-28 July)
The Pope will hold a vigil with the participants of World Youth Day on Saturday evening. On Sunday morning, Pope Francis will celebrate the final mass of the WYD 2013 and deliver the Angelus prayer and blessing once again.
Riocentro (28 July)
On his way to the airport, the pontiff stops in Riocentro, the largest convention centre in Latin America, to meet the WYD volunteers.
Galeao International Airport (28 July)
In his last engagement in Brazil, the pope will make a speech in a farewell ceremony at the airport.