Musk said the law and others like it attack both “families and companies.”

The X HQ, meanwhile, will be moving from San Francisco to Austin.

Several school districts in the state had already introduced the rules.

Elon Musk says he will move X and SpaceX headquarters to Texas in response to California gender law

Musk’s announcement follows previousreportsthat he was considering moving X’s headquarters before the bill was signed this week.

SpaceX and X employ thousands of people in California.

Musk never mentioned how many positions would be transferred to Texas.

“You bent the knee,” Newsom wrote.