London – Britain’s main opposition Labour Party, which has faced growing criticism over perceived anti-Semitism in its ranks, suspended a lawmaker on Wednesday for making anti-Israel posts on social media before she was elected to Parliament.

The party said Naz Shah had been barred from taking part in the party’s activities or in participating in the grouping of Labour lawmakers in Parliament.

Shah was under pressure over comments including a 2014 Facebook post in which she shared a graphic that showed the outline of Israel superimposed on a map of the U.S. under the headline “Solution for Israel-Palestine Conflict – Relocate Israel into United States.”

She was elected to Parliament last year for Bradford West, a northern England constituency with a large Muslim population. Her 2014 posts were re-published this week by a right-wing political blogger.

In a statement to the House of Commons on Wednesday, Shah said she “wholeheartedly” apologized.

“I accept and understand that the words I used caused upset and hurt to the Jewish community and I deeply regret that,” she said. “Anti-Semitism is racism, full stop.”

Shah also wrote in Jewish News that she wished to make an “unequivocal apology for statements and ideas that I have foolishly endorsed in the past.”

Shah had already resigned as an aide to Labour economy spokesman John McDonnell and been reprimanded by party leader Jeremy Corbyn.

But Jewish groups and some Labour supporters say Corbyn hasn’t done enough to clamp down on anti-Semitism in the party. He comes from Labour’s left wing, which has strong ties to the pro-Palestinian movement.

Some Labour lawmakers also accused him of dithering for at first declining to suspend Shah, then changing his mind.

“There is a real problem for the Labour Party if we don’t look like we’re taking these things seriously,” lawmaker Lisa Nandy told the BBC. “The right thing to do is a full investigation and to make sure we don’t tolerate anti-Semitism in our party at all.”

As reported by Vos Iz Neias