Mata v. Avianca: The AI Legal Case Study Every Lawyer Should Know
How lawyers check AI research since Mata v. Avianca: a verification routine drawn from the 2023 court order, the case facts and the bar opinions that cite it.
Mata v. Avianca, Inc., No. 22-cv-1461 (S.D.N.Y. 2023), is the case ethics committees in D.C. and Texas cite when explaining how to check AI research. Judge P. Kevin Castel wrote that using a reliable AI tool is not improper and that lawyers must ensure their filings are accurate. In practice, that means pulling and reading every cited case before filing.
Mata v. Avianca, Inc., No. 22-cv-1461 (PKC), was a personal injury suit in the U.S. District Court for the Southern District of New York. Lawyers and bar ethics committees now cite it when they explain how to check AI research before it goes into a filing. Judge P. Kevin Castel opened his Opinion and Order on Sanctions of June 22, 2023 with this:
Technological advances are commonplace and there is nothing inherently improper about using a reliable artificial intelligence tool for assistance. But existing rules impose a gatekeeping role on attorneys to ensure the accuracy of their filings.
So a lawyer can use AI to find authority and draft. The lawyer who signs the filing confirms that every cited case exists, supports the point it is cited for, and is still good law. The steps below are built from the court record and from the bar opinions written since.
How to check AI research before filing
- Research case law in a tool built on a legal database. The firm in Mata used a research service with limited access to federal cases, and the lawyer who wrote the brief testified that he assumed ChatGPT was "like a super search engine." In Opinion 388, the D.C. Bar's ethics committee explained the difference. A general-purpose chatbot generates text from patterns in its training data, while Westlaw and Lexis search databases of published law that are updated as laws change and new cases are decided. Westlaw and Lexis now offer AI research built on those databases, in Westlaw Advantage and Lexis+ with Protégé.
- Pull every cited case and read it in full. Judge Castel found that when the brief was prepared, its author did not have the full text of any decision the chatbot had produced. He cited and quoted from excerpts the chatbot generated.
- Check each quotation against the opinion, word for word, at the pin cite.
- Run the citator on every case. KeyCite on Westlaw and Shepard's on Lexis show whether a case is still good law. According to LexisNexis, Shepard's Verify checks citations in AI responses, documents and drafts and flags unsupported statements. According to Thomson Reuters, the Litigation Document Analyzer in Westlaw Advantage looks for mischaracterizations of the law and hallucinated cases in litigation documents.
- Confirm a case in the database, never by asking the chatbot. The lawyer in Mata typed "Is Varghese a real case" and "Are the other cases you provided fake" into ChatGPT. It answered that the authorities were real and could be found through Westlaw, LexisNexis and the Federal Reporter.
- Read the authorities before signing. The attorney of record signed the March 1, 2023 filing without reviewing any of the cases cited in it. Judge Castel held that not reading a single cited case, and taking no other steps to check the law, violated Rule 11.
- Keep a record. For each filing, list every authority, the database it was pulled from, who read it and on what date. If anyone questions a citation later, the firm can show what was checked.
- Respond to a challenge right away. Rule 11 duties continue after a paper is filed. Judge Castel wrote that if the lawyers had come clean after Avianca's March 15 brief questioned the cases, or after the court's April orders, "the record now would look quite different."
What happened in Mata v. Avianca
Roberto Mata sued Avianca in New York state court in February 2022, alleging that a metal serving cart struck his left knee on a flight from El Salvador to John F. Kennedy Airport. Avianca removed the case to federal court and, on January 13, 2023, moved to dismiss, arguing that the claims were time-barred under the Montreal Convention.
The plaintiff's opposition, filed March 1, 2023, cited decisions that did not exist. The lawyers later acknowledged that six of them were generated by ChatGPT: Varghese v. China Southern Airlines, Shaboon v. Egyptair, Peterson v. Iran Air, Martinez v. Delta Airlines, Estate of Durden v. KLM Royal Dutch Airlines and Miller v. United Airlines. In a reply filed March 15, Avianca's counsel wrote that they could not locate most of the case law cited. The court ordered copies of the cases on April 11 and 12, and an affidavit filed April 25 attached excerpts of the invented decisions. The lawyers first acknowledged that ChatGPT had produced them in affidavits filed May 25, and the court held a hearing on June 8.
On June 22, 2023, Judge Castel found that the two individual lawyers had acted in bad faith, based on conscious avoidance and false and misleading statements to the court. He imposed sanctions under Rule 11 on them and their firm: letters to their client and to each judge falsely named as the author of a fake opinion, and a $5,000 penalty. In a separate order the same day, he granted Avianca's motion to dismiss, as recorded on the case docket.
How later ethics opinions use the case
The D.C. Bar's ethics committee called the events in Mata "an object lesson" in Opinion 388, published in April 2024. The committee tied the lesson to competence: lawyers who rely on a technology "should have a reasonable and current understanding of how to use the technology with due regard for its potential dangers and limitations." It also noted that Westlaw and Lexis were by then offering AI-assisted cite-checking products.
The Texas Committee on Professional Ethics cited Mata in Opinion 705 in February 2025. The committee opened its conclusion by noting that "there may be many ways that generative AI can assist in the practice of law and benefit lawyers and clients alike," then listed what Texas lawyers should do, including to "always verify the accuracy of any responses received from a generative AI tool."
The ABA's Standing Committee on Ethics and Professional Responsibility issued Formal Opinion 512 on July 29, 2024. As quoted in the State Bar of Wisconsin's summary, relying on AI output "without an appropriate degree of independent verification or review" could violate the duty of competence under Model Rule 1.1. The same passage adds that AI tools "may be able to significantly assist lawyers in serving clients" but cannot replace a lawyer's judgment and experience.
Under the State Bar of California's 2026 Practical Guidance, a lawyer must review all output produced with AI tools for accuracy, including analysis and citations to authority, before submitting it to a court. Lawyers there should also check for any rule or order in their jurisdiction that requires disclosure of AI use, and comply with it.
Building the routine into a firm's filing checklist
A firm can make these steps part of every filing:
- Name the approved tools for case law research and citation checking.
- Add the citation record to the filing checklist, completed before anyone signs.
- Make the signing lawyer responsible for reading each authority, or for confirming that a named colleague read it.
- Train lawyers and staff on the routine. Under ABA Formal Opinion 512, as summarized by the National Conference of Bar Examiners, managerial lawyers must establish clear policies on the firm's permissible use of AI, and supervisory lawyers must make reasonable efforts to see that lawyers and staff follow their professional obligations when using it.
The research steps are set out in more detail in AI legal research workflows. The ABA and state guidance are compared side by side in the roundup of AI ethics opinions, and the two main research platforms in Westlaw Precision vs Lexis+ AI.
Sources
- U.S. District Court for the Southern District of New York, Mata v. Avianca, Inc., No. 22-cv-1461 (PKC), Opinion and Order on Sanctions (June 22, 2023), ECF 54 (checked 2026-12-01)
- Mata v. Avianca, Inc., No. 1:22-cv-01461 (S.D.N.Y.), case docket, including the June 22, 2023 order granting Avianca's motion to dismiss (CourtListener) (checked 2026-12-01)
- D.C. Bar, Ethics Opinion 388, Attorneys' Use of Generative Artificial Intelligence in Client Matters (April 2024) (checked 2026-12-01)
- Texas Committee on Professional Ethics, Opinion 705 (February 2025) (checked 2026-12-01)
- State Bar of Wisconsin, Ethical Considerations When Using Generative Artificial Intelligence (Wisconsin Lawyer, Oct. 2024), on ABA Formal Opinion 512 (checked 2026-12-01)
- National Conference of Bar Examiners, The Bar Examiner (Fall 2024), Generative Artificial Intelligence Tools, on ABA Formal Opinion 512 (July 29, 2024) (checked 2026-12-01)
- State Bar of California, Practical Guidance for the Use of Generative Artificial Intelligence in the Practice of Law (2026 version, approved May 14, 2026) (checked 2026-12-01)
- Thomson Reuters, KeyCite citator and KeyCite Overruling Risk (checked 2026-12-01)
- Thomson Reuters, Westlaw Advantage product page, with Litigation Document Analyzer (checked 2026-12-01)
- LexisNexis, Lexis+ with Protégé (formerly Lexis+ AI) product page, with Shepard's Verify (checked 2026-12-01)
Get the next one.
Field notes from real deployments, written the way this one was. No schedule promised and nothing sold to you. Unsubscribe whenever.
Frequently asked questions
What was Mata v. Avianca?
A personal injury case against Avianca in the Southern District of New York, No. 22-cv-1461. In 2023 the plaintiff's lawyers filed an opposition citing six decisions that ChatGPT had generated and that did not exist. Ethics committees in D.C. and Texas have since cited it when explaining how lawyers should check AI output.
Did the court say lawyers should not use AI?
No. Judge P. Kevin Castel wrote that "there is nothing inherently improper about using a reliable artificial intelligence tool for assistance," and that existing rules give attorneys a gatekeeping role to ensure the accuracy of their filings.
Which fake cases were cited in Mata v. Avianca?
The lawyers acknowledged that six decisions were generated by ChatGPT and do not exist: Varghese v. China Southern Airlines, Shaboon v. Egyptair, Peterson v. Iran Air, Martinez v. Delta Airlines, Estate of Durden v. KLM Royal Dutch Airlines and Miller v. United Airlines.
How should a lawyer verify AI-generated citations?
Pull each case from a legal research database and read it, check every quotation against the opinion, and run KeyCite or Shepard's for current treatment. Confirm a case in the database, not by asking the AI tool, and keep a record of who checked each authority and when.
What happened to Mr. Mata's claim against Avianca?
On June 22, 2023, in a separate opinion and order, Judge Castel granted Avianca's motion to dismiss, as the case docket records. Avianca had argued that the claims were time-barred under the Montreal Convention.
Not sure where AI fits?
An AI audit shows where it pays off in your business.
We look at how the business runs today and find the work AI can take on. You get a ranked list of opportunities, a written AI use policy and a plan.
see how the audit works
