The Conservatives have suspended a council by-election candidate following “unacceptable comments” on social media.
Laurel Ellis was picked for the Gurnos ward on Merthyr Tydfil council.
Ms Ellis had shared posts critical of Islam and the leader of the Conservative Party, Theresa May. Labour AM Dawn Bowden said they were Islamophobic.
The party said she regrets the posts. She has been asked for comment.
The Conservative Party announced the suspension following inquiries from BBC Wales about the Facebook posts on Wednesday.
Despite the party saying she would not be standing for the Tories, nominations have already been published for the poll and she will still appear on the ballot.
Laurel Ellis’ Facebook page included one post that suggested Britain was tolerant “until… Muslims marched”.
Another, entitled “Sharia May”, includes a photo-shopped picture of Theresa May wearing Muslim religious dress.
The posts originally came from other pages on Facebook.
In a Twitter post sent before Ms May became leader of the Conservatives, Ms Ellis said: “Theresa May is a front runner really? A leader that supports Islam and is happy to have Sharia Law in our country?”
A spokesman for the Welsh Conservatives said the party seeks “to reach out to, and represent, all communities and people from all walks of life in Wales”.
“The Welsh Conservatives have suspended Laurel Ellis following unacceptable comments she made on social media,” the party said.
Labour AM for Merthyr Tydfil and Rhymney Dawn Bowden said prior to the suspension: “It is alarming that the Welsh Conservatives would select an official candidate with such apparently distasteful and Islamophobic views, which seems to extend to attacking the leader of her own party.
“The Welsh Conservatives clearly have questions to answer about how such a candidate has been selected.”
The by-election was triggered after previous councillor Rhonda Braithwaite stepped down for personal reasons in May.
Labour’s Allyn Hooper, and independents Dillan Singh and Jeremy Davies are also standing.
The election will be held on 26 July.