Cuba: Pope Francis meets Fidel Castro after Havana Mass Published duration 20 September 2015

media caption The Pope celebrated mass in front of thousands of people in Cuba

Pope Francis has met Cuba's former President, Fidel Castro, after celebrating Mass in front of tens of thousands of people in Havana.

The two men discussed world affairs and religion, in what the Vatican called an "informal and friendly" encounter.

Before the meeting, Pope Francis gave a homily in which he urged Cubans to serve each other rather than ideology.

It is the first visit by the Pope to the Communist-ruled island, on a trip that will later take him to the US.

Vatican spokesman Father Federico Lombardi described the meeting between Pope Francis and Fidel Castro, which took place at the former Cuban leader's home, as low-key.

They exchanged books: Pope Francis gave Mr Castro three titles, including a book of sermons by Mr Castro's former teacher, while in return the Pope received Fidel and Religion, a collection of interviews with a Brazilian priest.

image copyright Getty Images image caption Pope Francis urged Cubans gathered in Revolution Square to "care for one another"

image copyright AP image caption The square is overlooked by a sculpture of the revolutionary Ernesto "Che" Guevara

image copyright AFP image caption Three dissidents were arrested at the edge of the square after attempting to hand out flyers

Earlier in the day, thousands streamed into Havana's Revolution Square to hear the Pope.

Security services were seen arresting at least three people who were shouting and attempting to distribute flyers at the edge of the square as the Mass got under way.

During his homily the Pope spoke of how "Christians are constantly called to set aside their own wishes and desires, their pursuit of power, and to look instead to those who are most vulnerable".

He also warned against ideology, saying: "Service is never ideological, for we do not serve ideas, we serve people".

At the scene: the BBC's Will Grant

media caption The Pope was cheered by crowds as he rode through the streets of Havana, as Will Grant reports

From my vantage point, it was hard to gauge exactly how many people filled the enormous Revolution Square in Havana, but their enthusiasm was clear to everyone watching.

The Pope was greeted by thousands in good voice and high spirits, despite the suffocating Caribbean heat.

It was a rare sight - the iconography of revolution such as the huge cast-iron Che Guevara mural juxtaposed against the images of religion, including a vast huge picture of Jesus Christ. Or Raul Castro embracing Pope Francis.

Once again, it felt like evidence that times are changing on the communist island.

In terms of his homily, the Pope discussed ideas of brotherhood and unity but the more overt political message was aimed not at Cuba, but Colombia.

He urged the Colombian government and the left-wing Farc rebel group to persevere with the talks being held in Havana, saying they could not allow "another failure on the path of peace and reconciliation".

Cuba's President Raul Castro, who is not a practising Catholic, attended, as did Cristina Fernandez de Kirchner, president of the Pope's native Argentina.

The Pope praised improved co-operation between the Cuban government and the Church on Saturday, but called for the Church in Cuba to have "the freedom and the means" to pursue its mission.

Both his predecessors, Pope John Paul II and Pope Benedict XVI, visited the island during their papacy.

Pope Francis is due to fly to Washington on Tuesday. He has been credited with helping the recent thaw in diplomatic ties between Cuba and the US.

After his arrival on Saturday, he hailed improving ties between the two countries as "an example of reconciliation for the whole world".