A French court, on Wednesday, awarded the main accused of 2015 killings at the Charlie Hebdo magazine offices and a Jewish supermarket for 30 years, stopping short of the life term demanded by the prosecution, reported AFP.

The court convicted Ali Riza Polat of complicity in terror crimes. A 30-year jail sentence was also given in absentia to Hayat Boumeddiene, the partner of one of the attackers, who fled to Syria in the wake of the killings.

Also read: French prosecutors seek long jail terms for Charlie Hebdo attack suspects

While all the attackers were killed in the wake of the killings, a total of 14 suspected accomplices went on trial, three of them in absentia.

Although tried in absentia and presumed to be dead in Syria, another prime suspect, Mohamed Belhoucine was sentenced to life.

Also read: Macron seeks backing for law against ‘radical Islamism’

Other sentences ranged from four years, with all those present in court convicted for their role in providing support for the killings that shocked France.

Seventeen people were killed over three days of attacks in January 2015, beginning with the massacre of 12 people at the magazine, which had published cartoons of the Prophet Mohammed.

That attack was followed by the murder of a French policewoman and the hostage-taking at the Hyper Cacher market in which four Jewish men were killed.

Prosecutors sought a life sentence for Polat, a 35-year-old French-Turkish friend of one of the attackers. He denied any knowledge of a terrorist plot.