J.K. Rowling has been slammed online after voicing her support for Maya Forstater, who lost her job at a think tank over comments she made about people not being able to change their biological sex.

The Guardian reported Wednesday that a judge ruled Forstater’s views did “not have the protected characteristic of philosophical belief,” after she took her company to court.

After hearing the latest news, Rowling posted:

RELATED: Daniel Radcliffe Talks Overdrinking As A Teen To Deal With His ‘Harry Potter’ Fame

Forstater, who was a visiting fellow at the Centre for Global Development, previously tweeted:

RELATED: Stephen Colbert Responds As J.K. Rowling Faces Backlash Over Dumbledore And Grindelwald Gay Relationship Comments

Rowling’s message has been widely criticized on Twitter, with many accusing her of being transphobic. See some of the reaction below.

The “Harry Potter” author’s rep refused to comment when contacted by ET Canada.

Click to View Gallery
Star Spotting