Panama's former President Ricardo Martinelli arrives to cast his vote during the internal election of his Realizando Metas party to elect a presidential candidate for the next general election in Panama City, June 4, 2023. (PHOTO / AP)

PANAMA CITY – A Panamanian court sentenced former president Ricardo Martinelli to more than 10 years in prison for money laundering, the attorney general's office said on Tuesday, threatening the front-runner's bid for a new term next year.

Ricardo Martinelli became the first official candidate for Panama's 2024 presidential election last month after he was elected by the party Realizando Metas, a group he founded two years ago

Martinelli stated his innocence following the decision in the case, known as "New Business," which alleges public funds were used to buy a media conglomerate and give the ex-president a majority stake.

"We all know they want to convict me out of political interest," Martinelli said in a video. "I have no ties to illicit funds."

ALSO READ: US charges ex-Panama president's sons with bribery, money laundering

Four others were also sentenced on Tuesday for their involvement in the scheme, according to a statement from the attorney general's office. Martinelli was ordered to pay a $19.2 million fine in addition to serving 128 months in prison.

The former president's defense will appeal the sentence and exhaust all the legal avenues available, Martinelli's lawyer Carlos Carrillo said in a news conference.

"Ricardo Martinelli Berrocal's candidacy is solid," Carrillo said, noting he is still eligible to run for the presidency since there is time to challenge the sentence.

The former president also faces money laundering charges for his alleged involvement in the Odebrecht case, a massive bribery scandal involving public officials across Latin America.

ALSO READ: Migration through Panama's Darien Gap spikes despite US plan

Two of his sons returned to Panama earlier this year after facing prison time in Guatemala and the US for money laundering in a case linked to Odebrecht.

A survey published in May by polling firm Campaigns & Elections Mexico put Martinelli as the front-runner in the coming elections, followed by former president Martin Torrijos.

Martinelli became the first official candidate for Panama's 2024 presidential election last month after he was elected by the party Realizando Metas, a group he founded two years ago.

The United States barred Martinelli from entering the country in January, accusing him of accepting bribes in return for improperly awarding government contracts during his 2009-2014 administration.