Pope Francis visits predecessor John Paul II's shrine Published duration 30 July 2016

image copyright Reuters image caption Pope Francis called for a Church that "goes out into the world"

Thousands of people have attended a Mass celebrated by Pope Francis at a church dedicated to the late Pope John Paul II in the Polish city of Krakow.

The Pope called for clergy to leave their comfort zones and tend to the needy on the peripheries of life.

He is on a five-day visit to Poland to mark the 1,050th anniversary of the country's adoption of Christianity.

He is also taking part in World Youth Day, a global celebration for young Catholics.

On Saturday evening, the pontiff was attending a youth prayer vigil with hundreds of thousands of pilgrims gathered in a meadow outside Krakow. The vigil includes songs, dances and historical re-enactments.

The Pope asked the young people to pray for those suffering in the civil war in Syria.

He will hold another Mass there on Sunday, an event seen as the climax of his trip.

Pope Francis began his day with a visit to the Divine Mercy Sanctuary, consecrated by John Paul II during his last visit to Poland in 2003.

image copyright AP image caption A huge crowd gathered in a field outside Krakow for the youth prayer vigil

image copyright Reuters image caption Pope Francis began his day at the Divine Mercy Sanctuary

image copyright AP image caption The Pope was greeted by singing as he arrived

image copyright AFP image caption The Pope heard the confessions of young people at the sanctuary

image copyright EPA image caption Mass in the Sanctuary of John Paul II was celebrated by priests and seminarians

image copyright Reuters image caption The Sanctuary of John Paul II houses relics of the late Pope

Later, celebrating Mass in the nearby Sanctuary of John Paul II, he urged churchgoers to heed Jesus's call to be "on the move, a Church that goes out into the world".

"This call is addressed to us," he added. "How can we fail to hear its echo in the appeal of Saint John Paul II: 'Open the doors'?"

John Paul II, who was Pope from 1978 until his death in 2005, was a native of southern Poland. He was canonised in 2014 and relics are kept in the church that has taken his name.

image copyright EPA image caption Pope Francis spent much of his visit to Auschwitz in solitary prayer and contemplation

Pope Francis's visit comes a day after he offered a private prayer at the former Auschwitz death camp.

He became the third Pope to walk through the main gate of Auschwitz, under its infamous inscription "Arbeit Macht Frei" - work sets you free.