An Algerian court jailed two former prime ministers for corruption on Tuesday, two days before polls to elect a new president.

Ahmed Ouyahia, who served four times as prime minister under former President Abdelaziz Bouteflika, was sentenced to 15 years in prison and Abdelmalek Sellal, who served twice, to 12 years.

Prosecutors accused the two former premiers of misappropriation of public funds, abuse of power and granting undue privileges, accusations denied by the two former officials.

The court also slapped former Industry Minister Abdeslam Bouchouareb with a 20-year jail term and issued an arrest warrant for him.

Read more: Algeria jails 2 Bouteflika-era premiers ahead of polls