A judge struck from the record several statements from Tesla CEO Elon Musk attacking class action law firms and opposing counsel in the securities trial stemming from 2018 tweets announcing Musk had secured funding to take the electronic vehicle company private.

During Musk’s third day on the stand in San Francisco federal court, the tech executive called plaintiffs firm Levi & Korsinsky—which represents a group of shareholders alleging that they lost potentially billions of dollars after reports that the take-private funding was not secured—”a class action law firm from Texas that claims to represent the shareholders.”