The vote effectively disbands the government of Prime Minister Habib Essid, a U.S.-trained agricultural economist. The move is a mark of the instability that has bedeviled the North African country since it kicked off a wave of pro-democracy rebellions across the Arab world in 2011.

Tunisia sealed a $2.8 billion bailout from the International Monetary Fund, the emergency financing institution said Friday, contingent on the North African nation speeding up promised economic overhauls.

At least 51 people, including a 12-year-old girl, were killed near Tunisia’s border with Libya in one of the deadliest clashes seen so far between Tunisian forces and extremist attackers, the government said.

Tunisia’s government imposed the curfew Friday as protests that coincide with the Arab Spring anniversary spread from the nation’s impoverished heartland to the capital, leading to looting and property destruction.

Tunisia’s president declared a state of emergency in response to a second deadly attack on foreigners in three months, saying the country is “not safe” and risks collapse from further extremist attacks.

Tunisia’s prime minister said a leading suspect in a deadly museum attack on foreign tourists has been killed in antiterrorist operations, as tens of thousands of Tunisians marched through the capital to denounce extremist violence.

Global cruise operator Costa Crociere said it is diverting ships away from Tunisia, after at least 12 cruise passengers traveling on two ships were among those killed in a gun attack in the capital Tunis.