Labour MP Jared O'Mara has resigned from the Women and Equalities Select Committee after a series of sexist and homophobic comments he made in the past resurfaced online.

The Sheffield Hallam MP made a series of remarks on online forums when he was in his early twenties saying he would like to have an orgy with four members of Girls Aloud and that the 2003 winner of Pop Idol Michelle McManus only won the singing competition because she was fat.

In the posts, made in 2002 and 2004, he also said it would be "quite funny" if singer Jamie Cullum" was "sodomised to death" with a piano because he thought he was an "arrogant, conceited c***".

He compared it to the abuse he suffers for having red hair and being disabled.

Mr O'Mara suffers from cerebral palsy, and said he thought it was "funny how some homosexuals believe they have the monopoly on being subject to abuse".

He also ranted about gay people being "bitter and resentful about being homosexual" and used a series of derogatory terms to describe them in the posts seen by political blogger Guido Fawkes.

The MP, who was elected in June, defeating former Deputy Prime Minister Nick Clegg, has since apologised for his comments.

In a statement on Twitter he said: "I am deeply ashamed of the comments I made online, which emerged today.

"I was wrong to make them; I understand why they are offensive and sincerely apologise for my use of such unacceptable language.

"I made the comments as a young man, at a particularly difficult time in my life, but that is no excuse.

Labour Conference 2017 – in pictures Show all 14 1 /14 Labour Conference 2017 – in pictures Labour Conference 2017 – in pictures Britain's opposition Labour Party Leader Jeremy Corbyn delivers his keynote speech at the Labour Party Conference in Brighton Reuters/Toby Melville Labour Conference 2017 – in pictures Senior members of Britain's opposition Labour Party listen to Leader Jeremy Corbyn deliver his keynote speech at the Labour Party Conference in Brighton Reuters/Peter Nicholls Labour Conference 2017 – in pictures Diane Abbott receives a standing ovation during Jeremy Corbyn's speech at the Labour Party conference BBC Labour Conference 2017 – in pictures Labour Leader Jeremy Corbyn addresses delegates on the final day of the Labour Party conference on September 27, 2017 in Brighton Leon Neal/Getty Images Labour Conference 2017 – in pictures Labour Leader Jeremy Corbyn stands with Shadow Secretary of State for Business, Energy and Industrial Strategy Rebecca Long-Bailey (left) and Shadow Secretary of State for Education, Angela Raynor after speeches in the main hall, on day three of the annual Labour Party Conference on September 26, 2017 in Brighton Getty Labour Conference 2017 – in pictures Angela Rayner, Shadow Education Secretary, addressing the Labour Party annual conference at the Brighton Centre, Brighton PA Labour Conference 2017 – in pictures The mayor of London Sadiq Khan delivers a speech at the Labour Party Conference in Brighton, Britain Reuters Labour Conference 2017 – in pictures Dennis Skinner addressing the Labour Party annual conference at the Brighton Centre, Brighton PA Labour Conference 2017 – in pictures John McDonnell MP, Shadow Chancellor of the Exchequer Labour Party Conference, Day 2, Brighton Rex Labour Conference 2017 – in pictures Shadow Chancellor of the Exchequer John McDonnell (C) speaks with Labour party's leader Jeremy Corbyn (L) ahead of making a speech on the second day of the Labour Party Conference AFP/Getty Images Labour Conference 2017 – in pictures Labour Leader Jeremy Corbyn addresses supporters during a momentum rally on the first day of the Labour Party conference Getty Labour Conference 2017 – in pictures Jeremy Corbyn listens to speeches in the main hall on the first day of the Labour Party conference Getty Images Labour Conference 2017 – in pictures Labour Shadow Home Secretary Diane Abbott addresses delegates in the main hall on the first day of the Labour Party conference on September 24 Getty Labour Conference 2017 – in pictures Jeremy Corbyn addresses a rally ahead of the Labour Party Conference in Brighton Reuters

"Misogyny is a deep problem in our society. Since making those comments 15 years ago, I have learned about inequalities of power and how violent language perpetuates them.

"I continue to strive to be a better man and work where I can to confront misogyny, which is why I'm so proud to sit on the Women and Equalities Select Committee.

"I will continue to engage with, and crucially learn from, feminist and other equalities groups so as an MP I can do whatever I can to tackle misogyny."

Mr O'Mara was first elected to the Women and Equalities Select Committee last month.