Court in the West African country sentences three other Ivory Coast soldiers to death in absentia.

Ivorians were found guilty of an
Ivorians were found guilty of an "attack and conspiracy against the government" and seeking to undermine state security, public prosecutor says. (AFP)

A court in Mali has sentenced 46 Ivorian troops whose detention in Mali sparked a diplomatic row between the two countries to 20 years in prison, the public prosecutor said.

The trial of the 46 Ivorian troops had wrapped up earlier on Friday after opening in the capital Bamako on Thursday.

Three women soldiers among the original group detained in July, and who were freed in early September, were sentenced to death in absentia.

The court proceedings came in the run-up to a January 1 deadline set by West African leaders for Mali to release the soldiers or face sanctions.

The Ivorians were found guilty of an "attack and conspiracy against the government" and seeking to undermine state security, public prosecutor Ladji Sara said in a statement.

The court proceedings were held behind closed doors and under heavy security, the AFP news agency noted.

READ MORE: Ivory Coast seeks West Africa bloc's help over detained troops in Mali

Diplomatic row

Forty-nine troops from Ivory Coast were detained after they arrived at Bamako airport on July 10. Three of them, all women, were later freed.

Those remaining, branded by Mali's junta as "mercenaries", were charged the following month with seeking to undermine state security.

Ivory Coast and the United Nations say the troops were flown in to provide routine backup security for the German contingent of the UN peacekeeping mission in Mali.

The row escalated in September, when diplomatic sources in the region said Mali wanted Ivory Coast to acknowledge its responsibility and express regret for deploying the soldiers.

Bamako also wanted Ivory Coast to hand over people who had been on its territory since 2013 but who are wanted in Mali, they said.

Ivory Coast rejected both demands and was prepared for extended negotiations to free the men, the sources said.

An Ivorian delegation travelled to Mali last week for talks on the crisis, and the Ivorian Defence Ministry said it was "on the way to being resolved".

An agreement reached last week between Mali and Ivory Coast leaves the possibility open of a presidential pardon by Mali's junta leader Assimi Goita, who is due to make a national address on Saturday.

On December 4, the Economic Community of West African States set New Year's Day as a deadline for the soldiers' release, failing which the bloc would impose new sanctions against Mali.

One of Africa's most volatile countries, Mali has for a decade relied on regional allies and peacekeepers to contain insurgents who have killed thousands of people and taken over large areas of central and northern regions.

READ MORE: Three women among Ivorian troops held in Mali released: Diplomats

Source: TRTWorld and agencies