Elon Musk Says X, SpaceX Leaving California After Gov. Newsom Signs Law Protecting Trans Students From Being Outed to Their Parents: ‘This Is the Final Straw’

Elon Musk announced on social media that he will be moving the headquarters to his companies X and SpaceX out of California after state Gov. Gavin Newsom signed a new law that prohibits school districts from informing parents if their children decide to go by a different gender.

“This is the final straw,” Musk wrote on X (formerly Twitter). “Because of this law and the many others that preceded it, attacking both families and companies, SpaceX will now move its HQ from Hawthorne, California, to Starbase, Texas.”

More from Variety

Musk added, “I did make it clear to Governor Newsom about a year ago that laws of this nature would force families and companies to leave California to protect their children.”

In a second post on X, Musk announced that headquarters for the social media company would move to Austin, Texas; X is currently based in San Francisco. Musk said that relocating the company to Texas would be a relief not just because of the law Newsom signed but also because of the increase in violence in San Francisco.

“Have had enough of dodging gangs of violent drug addicts just to get in and out of the building,” Musk said in reference to X headquarters in San Francisco.

Newsom signed the law, also known as the SAFETY Act, on July 15. One of the driving factors behind the law is to put an end to “forced outing” policies that some school districts adopted. Schools were required to notify parents if their children were using a different name or pronoun at school then what was listed on their birth certificate, regardless of whether or not the student consented to having his or her parents know. The law now prevents the school from being required to notify parents.

Best of Variety

Sign up for Variety’s Newsletter. For the latest news, follow us on Facebook, Twitter, and Instagram.