Labour shadow minister Sarah Champion has quit the party's front bench after criticism over a newspaper article she wrote about grooming gangs.
The Rotherham MP wrote in the Sun that "Britain has a problem with British Pakistani men raping and exploiting white girls."
She has now apologised for her "extremely poor choice of words" and quit as shadow equalities minister.
Labour leader Jeremy Corbyn said he had accepted her resignation.
Champion's article was written after 17 men were convicted of forcing girls in Newcastle to have sex.
Mostly British-born, they were from Iraqi, Bangladeshi, Pakistani, Indian, Iranian and Turkish communities.
In interviews following the convictions, the Labour MP said such crimes involved "predominately Pakistani men" and said a fear of being called racist was hampering the authorities' investigations.
She then penned the Sun article, which also included the line: "These people are predators and the common denominator is their ethnic heritage."
Among the article's critics was fellow Labour MP Naz Shah, who said it was "irresponsible" and "setting a dangerous precedent".
In the newspaper, the column was accompanied by another article by former Sun political editor Trevor Kavanagh, which referred to "the Muslim problem".
Kavanagh's article was condemned in an open letter signed by more than 100 MPs, including Champion herself, who said she was horrified that an "extreme Islamaphobic" column had quoted her.
Announcing she was stepping down, Champion said: "I apologise for the offence caused by the extremely poor choice of words in the Sun article on Friday.
"I am concerned that my continued position in the shadow cabinet would distract from the crucial issues around child protection which I have campaigned on my entire political career.
"It is therefore with regret that I tender my resignation as shadow secretary of state for women and equalities."
Corbyn said: "I have accepted Sarah Champion's resignation and thank her for her work in the shadow cabinet.
"I look forward to working together in future."
The MP's Sun column followed an interview on BBC Radio 4's Today programme in which she warned people were not raising potential cases of child abuse as they feared being labelled racist.
She wrote: "Britain has a problem with British-Pakistani men raping and exploiting white girls.
"There. I said it. Does that make me a racist? Or am I just prepared to call out this horrifying problem for what it is?"
Champion sought to distance herself from the article, claiming it had been altered, something denied by the newspaper.
A spokeswoman for the Sun said: "Sarah Champion's column, as it appeared on Friday, was approved by her team and her adviser twice contacted us thereafter to say she was 'thrilled' with the piece and it 'looked great'.
"Indeed, her only objection after the article appeared was her belief that her picture byline looked unflattering. Her office submitted five new pictures for further use."
Former UKIP leader Nigel Farage said in a tweet: "Telling the truth about tough issues is now impossible in the modern Labour Party. Pathetic."