The Nida Tunis (Tunis Calls) Party, running on an explicitly anti-Islamist platform, won 85 of the 217 seats in parliament, giving it the right to name a prime minister and lead a coalition government.

The moderate Islamist Ennahda Party, which had previously dominated the parliament, won 69 seats, or nearly 32 percent, of the new parliament, representing a loss of some 23 seats.

Since overthrowing its dictator in 2011 and kicking off the Arab Spring pro-democracy wave, Tunisia has been buffeted by economic turmoil and terrorist attacks.

Analysts have described Sunday’s election as a referendum on the Islamist-led coalition’s stormy two years in office and punished them for a poor economic performance and unfulfilled expectations of the revolution.