Pope Francis has said that the Roman Catholic Church should apologise to gay people for the way it has treated them.
He told reporters that the Church had no right to judge the gay community, and should show them respect.
The pontiff also said the Church should seek forgiveness from other people it had marginalised – women, the poor, and children forced into labour.
The Pope has been hailed by many in the gay community for his positive attitude towards homosexuals.
But some conservative Catholics have criticised him for making comments they say are ambiguous about sexual morality.
Speaking to reporters on his plane returning from Armenia, the Pope said: “I will repeat what the catechism of the Church says, that they [homosexuals] should not be discriminated against, that they should be respected, accompanied pastorally.”
Pope Francis said the Church should seek forgiveness from those whom it had marginalised.
“I think that the Church not only should apologise… to a gay person whom it offended but it must also apologise to the poor as well, to the women who have been exploited, to children who have been exploited by [being forced to] work. It must apologise for having blessed so many weapons.”
In 2013, Pope Francis reaffirmed the Roman Catholic Church’s position that homosexual acts were sinful, but homosexual orientation was not.
“If a person is gay and seeks God and has good will, who am I to judge?” he said then.
In other remarks on Sunday, the Pope said he hoped the European Union would be able to recover following the UK’s decision to leave.
“There is something that is not working in that bulky union, but let’s not throw the baby out with the bath water, let’s try to jump-start things, to re-create,” he said.