Tunisians are voting for president in an unusual contest pitting a populist tycoon who just got out of jail against a law professor backed by resurgent Islamists.

The winner of Sunday's runoff vote will inherit a North African country struggling to overcome corruption, unemployment and sporadic extremist violence. Tunisians are also trying to stabilize the democracy they built from their 2011 Arab Spring uprising.

The election comes just four days after media mogul candidate Nabil Karoui was released from jail. He's facing money laundering and tax evasion charges that he calls politically driven.

A supporter of independent Tunisian Presidential candidate Kais Saied carries pamphlets as he attends a rally on the last day of campaigning before the second round of the presidential elections, in Tunis, Tunisia, Friday, Oct. 11, 2019. Poster in Arabic shows the number and slogan of Kais "People's wish." (AP PhotoMosa'ab Elshamy)

A supporter of independent Tunisian Presidential candidate Kais Saied carries pamphlets as he attends a rally on the last day of campaigning before the second round of the presidential elections, in Tunis, Tunisia, Friday, Oct. 11, 2019. Poster in Arabic shows the number and slogan of Kais "People's wish." (AP PhotoMosa'ab Elshamy)

Karoui is running against conservative law professor Kais Saied, an independent supported by the Islamist party Ennahdha. Ennahdha won the parliamentary election on Oct. 6, followed by Karoui's Heart of Tunisia party.

Supporters of independent Tunisian Presidential candidate Kais Saied attend a rally on the last day of campaigning before the second round of the presidential elections, in Tunis, Tunisia, Friday, Oct. 11, 2019. (AP PhotoMosa'ab Elshamy)

Supporters of independent Tunisian Presidential candidate Kais Saied attend a rally on the last day of campaigning before the second round of the presidential elections, in Tunis, Tunisia, Friday, Oct. 11, 2019. (AP PhotoMosa'ab Elshamy)