Reporter Joshua Goodman started digging after federal prosecutors in New York took the unusual step last spring of abruptly dismissing all charges against a banker convicted of evading U.S. sanctions by funneling $115 million to his family’s business in Iran. Goodman’s curiosity was rewarded with an exclusive.

Goodman worked with AP assistant general counsel Brian Barrett to convince a court to release internal communications within the U.S. attorney’s office for the Southern District of New York detailing how the elite unit tried to conceal their mishandling of evidence in the botched prosecution. A plethora of private correspondence between prosecutors showed a coordinated effort to mislead the court. In one exchange of text messages, supervising prosecutors admitted “we lied” to the defense during the trial. “This is going to be a bloodbath,” one wrote, anticipating the judge’s reaction to the disclosure.