Jeremy Corbyn has called for a formal Government apology to every gay person who was convicted under historic laws on homosexuality, saying pardoning them has not gone far enough.

The Labour leader was speaking at an event to mark the 50th anniversary of homosexuality being legalised in the UK.

“This year, the Government posthumously pardoned thousands of men convicted of offences that once criminalised homosexuality,” he said.

“I welcome it in a sense, but why should we seek a pardon for something that should never have been a crime in the first place?

“They deserve an apology, an apology for everything that went on. A love of one person for another should never be considered a crime.”

Referring to Turing’s Law, under which the pardons were issued, he said: “I think the case of Alan Turing has been instructive for many people.

“He saved millions of lives by deciphering Nazi codes, a gay man who served this country and helped bring about the end of the World War, criminalised for his sexuality and then chemically castrated at the hands of the state. Immense physical and psychological harm which led to his suicide.

“A pardon for a man so unimaginably wronged seems insufficient to say the least. I think we should welcome an apology to every gay person who was ever persecuted.”

The top 15 worst countries to be gay in Europe Show all 15 1 /15 The top 15 worst countries to be gay in Europe The top 15 worst countries to be gay in Europe 15. Italy Getty Images The top 15 worst countries to be gay in Europe 14. Macedonia Processed by: Helicon Filter; The top 15 worst countries to be gay in Europe 13. Poland Getty Images The top 15 worst countries to be gay in Europe 12. Liechtenstein The top 15 worst countries to be gay in Europe 11. Lithuania The top 15 worst countries to be gay in Europe 10. Latvia This content is subject to copyright. The top 15 worst countries to be gay in Europe 9. San Marino The top 15 worst countries to be gay in Europe 8. Moldova The top 15 worst countries to be gay in Europe 7. Belarus Getty Images The top 15 worst countries to be gay in Europe 6. Ukraine Getty Images The top 15 worst countries to be gay in Europe 5. Monaco The top 15 worst countries to be gay in Europe 4. Turkey Getty Images The top 15 worst countries to be gay in Europe 3. Armenia The top 15 worst countries to be gay in Europe 2. Russia Getty Images The top 15 worst countries to be gay in Europe 1. Azerbaijan Norway's Mette B. Bjerknaes competes during the Powerboat race on July 6, 2013 in Baku. Baku hosts the second race F2 World Championship 2013. The 2 mile course is designed just in front of the Baku Boulevard facing the Caspian Sea. AFP PHOTO / TOFIK BABAYEV (Photo credit should read TOFIK BABAYEV/AFP/Getty Images) Getty/AFP

Mr Corbyn paid tribute to George Montague, who attended the event, for his long-running campaign on the issue after he was convicted of homosexual offences as a young man.

And he recalled the passage of the 1967 sexual offences act, which partially decriminalised homosexuality.

“This month is the 50th anniversary of the decriminalisation of homosexuality, and I remember that time very well. I was at school, in fact I was just leaving school in 1967, and the headteacher advised me, ‘Corbyn, you’ll never make anything of your life!’”

Referring to his own voting record, which shows he has been in favour of equal rights ever since he entered Parliament in 1983, he said: “I was proud to vote for the equalisation of gay consent, and the equalisation of adoption law, and I was proud to vote for the repeal of section 28 – but very angry I had to vote against the introduction of section 28 in the first place.

“I’m glad that I was here to vote for civil partnerships for same-sex couples, which was a brilliant step forward.”

Gay marriage was finally legalised by David Cameron’s administration in 2014, and Speaker of the House John Bercow used the event to call for the law to be extended to allow gay couples to marry in church.

“We don’t want to behave like it’s all over, everything’s been done and nothing remains because that isn’t true,” Mr Bercow said.