PANAMA CITY (AP) — A Panamanian judge acquitted 39 people in a money laundering case Thursday, including lawyers Jurgen Mossack and Ramón Fonseca, who were key figures in the Panama Papers case.

Judge Baloísa Marquínez Morán ruled that the prosecution did not prove that the law firm Mossack Fonseca handled illicit funds from Brazil, or try to hide them.

Mossack and Fonseca had faced charges of creating accounts in multiple countries that were used by the Brazilian construction giant Odebrecht.

The two had been accused of money laundering for allegedly setting up offshore accounts for Odebrecht to move bribes.

Fonseca has claimed they were the victims of “scapegoating” to hide who accepted bribes from Odebrecht.

The Panama Papers included a collection of 11 million secret financial documents that illustrated how some of the world’s richest people hide their money.

The records were leaked in 2016, and the repercussions were far-ranging, prompting the resignation of the prime minister of Iceland and bringing scrutiny to the leaders of Argentina and Ukraine, Chinese politicians and Russian President Vladimir Putin.

U.S. federal prosecutors have alleged that the Mossack Fonseca firm conspired to circumvent American laws to maintain the wealth of its clients and conceal tax dollars owed to the IRS. They have alleged the scheme dated to 2000 and involved sham foundations and shell companies in Panama, Hong Kong and the British Virgin Islands.

Fonseca has said the firm, which closed in 2018, had no control over how its clients might use offshore vehicles created for them.

Both Mossack and Fonseca have Panamanian citizenship.