Elon Musk has announced that his social media platform X will relocate its San Francisco headquarters to Austin, Texas, citing new legislation that prevents transgender children from forced outings at school. 

The law, which received Gov. Gavin Newsom’s signature on Monday, prohibits schools from having policies that require parents to be notified if their child identifies as transgender. 

“This is the final straw,” Musk wrote in a post on X, the platform formerly known as Twitter, adding that this law and others are “attacking both families and companies.” 

SpaceX headquarters will also move from California to Texas, Musk announced in a separate X post.

Riley is an intern at Bay City News through the Dow Jones News Fund. She is a rising senior at the UC Berkeley, where she studies political science and journalism. Previously, she was the university news editor at her student newspaper The Daily Californian, overseeing coverage of student government elections, a new chancellor and the Gaza solidarity encampment. She enjoys reporting on politics, housing and homelessness — and using as many em dashes as her editors will allow.