FORT WORTH, Texas — Federal prosecutors used AI-writing detection software to challenge defense lawyers’ court filings in a Texas criminal case, according to a November 17 investigation by 404 Media. The dispute centers on Pangram, a commercial tool that estimates whether text was generated by artificial intelligence, and raises questions about how courts should weigh detection scores against the substance of legal arguments.
In United States v. Khalwinder Singh Bhengura, No. 4:26-cr-00314-P, Justice Department attorneys submitted Pangram results while objecting to motions filed by the defense. Defense counsel acknowledged using AI assistance in some filings but challenged the government’s descriptions and the significance of the detector results.
Featured photograph: Eldon B. Mahon U.S. Courthouse in Fort Worth, Texas (2016), Renelibrary / Wikimedia Commons, CC BY-SA 4.0. Archival image, not from the 2026 hearing.
What prosecutors submitted
According to 404 Media’s review of filings, federal prosecutors attached Pangram analyses as exhibits and described the defense’s practice as “defense by ChatGPT.” The reported results were mixed rather than finding every filing entirely AI-generated. Prosecutors argued that responding to what they considered meritless motions was wasting resources.
A classifier can estimate patterns associated with AI writing. It cannot independently establish who drafted and edited a brief or whether its citations and statutory arguments are accurate. Those are separate questions for lawyers and judges to assess.
What the judge actually decided
A federal jury convicted Bhengura, a lawful permanent resident, on October 27, 2026, of falsely claiming U.S. citizenship to register to vote and unlawfully voting in a federal election. The U.S. Attorney’s Office confirmed the two convictions on October 28. His defense maintained that his conduct arose from misunderstanding.
On November 4, U.S. District Judge Mark T. Pittman denied Bhengura’s request for release pending sentencing. The court faulted the defense’s interpretation of federal post-conviction detention rules and criticized its reliance on a precedent addressing detention before trial. The judge also found the defense had not shown that Bhengura was unlikely to flee under the applicable standard.
The judge said the filing contained arguments he attributed to AI, and he criticized the quality of counsel’s work. The November 4 order did not impose sanctions. Sentencing was scheduled for February 11, 2027.

Defense lawyers explain their AI use
Attorneys Mario Herrera and Nicole Knox told 404 Media that Knox suffered a medical emergency while the team faced tight deadlines. Herrera said he used AI as one of several tools to prepare quickly but reviewed and edited the final filings and stood behind his work.
Herrera disputed the idea that Pangram’s output could identify who wrote a document or determine whether a legal argument was correct. He also said the prosecution had not identified fabricated judicial citations in the disputed briefs. Those are the attorneys’ statements; the judge independently criticized the legal reasoning itself.
The Northern District of Texas requires disclosure of generative AI use, and defense counsel had included such disclosures in some filings. But disclosure is not a substitute for verifying legal sources and taking professional responsibility for filings.
Why this matters beyond one prosecution
Automated assessments may help parties flag writing for closer review, but they are not conclusive proof of misconduct. Nor does proof that an attorney used an AI tool necessarily establish that the resulting argument was unsupported. Conversely, a human-written filing may still be inaccurate or misleading.
The case brings both responsibilities into focus: lawyers must check their sources and arguments, and judges evaluating allegations about AI-assisted drafting should distinguish the detector’s score from demonstrated errors or violations of court rules. The broader use of AI detection in American litigation remains an evolving issue.




