The co-chair of Quinn Emanuel Urquhart & Sullivan’s white-collar practice, representing Tesla and its CEO Elon Musk, accused the U.S. Securities and Exchange Commission of “weaponizing” a 2018 settlement over Musk’s tweets to launch “endless” investigations against him.

Alex Spiro, in a letter to U.S. District Judge Alison Nathan of the Southern District New York, accused the SEC of violating the settlement agreement by issuing subpoenas against Tesla without court approval, and failing to distribute the $40 million paid to the SEC in 2018 to Tesla shareholders.