's most violent shantytowns, whose residents gave him a warm and happy greeting.
The pontiff mounted an open vehicle to cruise through the narrow streets of the Varginha slum past residents crowding the route under a sea of umbrellas. As he is fond of doing, Francis also got down and walked into the crowds to shake hands and talk with people.
Later in the day, the pope headed to Rio's famed Copacabana beach, to deliver an address to hundreds of thousands of young Roman Catholics attending the church's World Youth Day festival.
Here's a gallery of images from the fourth day of the pope' visit to Brazil.
AP photographers and photo editors on Twitter: http://apne.ws/15Oo6jo