Twitter filed a lawsuit against Texas Attorney General Ken Paxton in a California federal court Monday and asked a judge to halt the state's top lawyer from investigating the company.
The social media giant's court filings include a request for a temporary restraining order that would keep Paxton and his office from enforcing a demand that seeks documents revealing the company's internal decision making processes for banning users, among other things.
Paxton, a fervent supporter of former President Donald Trump, sent the company a civil investigative demand after it banned Trump from its platform following January's deadly siege at the U.S. Capitol.
Twitter wrote that it seeks to stop Paxton from "from unlawfully abusing his authority as the highest law-enforcement officer of the State of Texas to intimidate, harass, and target Twitter in retaliation for Twitter's exercise of its First Amendment rights." The company claimed Paxton's "retaliatory" investigation violated the First Amendment as an inappropriate use of government authority.
A spokesperson for Paxton did not immediately respond for comment.
The attorney general is among Texas Republican leaders who have launched a campaign against technology and social media companies after officials and followers faced repercussions for sowing the election doubts that fueled the Capitol insurrection.
Twitter is one of five tech and social media firms to which Paxton issued civil investigative demands to learn about the procedures such companies use to regulate postings or user accounts.
Paxton, who attended the rally that preceded the attack on the U.S. Capitol, criticized companies' moves after the siege, which included Twitter banning Trump from its platform.
"The seemingly coordinated de-platforming of the President of the United States and several leading voices not only chills free speech, it wholly silences those whose speech and political beliefs do not align with leaders of Big Tech companies," Paxton said in a Jan. 13 news release.
In its filings Monday, Twitter detailed their suspension of multiple accounts, including Trump's personal account, which they banned for his false claims about the presidential election and the Jan. 6 attacks on the U.S. Capitol. Five days after the president's Twitter account was suspended on Jan. 8, Paxton issued the civil investigative demands to Twitter and four other tech and social media firms.
In the lawsuit, Twitter said while the company "strives for transparency," the public disclosure of such documents would "compromise Twitter's ability to effectively and efficiently moderate content on its platform."
Facebook, Twitter and other social media platforms have come under fire for enabling misinformation spread and propagating violence like the Jan. 6 attacks. Last year, Democratic lawmakers presented a Congressional bill that would hold social media companies accountable for amplifying such content, but the proposal gained little traction.