Libya’s parliament ousted the prime minister in a Tuesday vote of confidence, after his government was embarrassed this week when a militia controlling an eastern port defied Tripoli’s authority by trying to sell oil.

The chamber named the defense minister, Abdullah al—Thinni, as an interim prime minister until a replacement for the embattled Ali Zidan is found.

The “no” vote won the support of 121 lawmakers out of the approximately 180 that remain in the legislature, according to lawmaker Hussein el—Ansari.

Zidan, whose ouster had been seen as a matter of time to many Libyans, had no immediate public reaction to the vote.

Zidan was elected in 2012 as the first prime minister after the 2011 overthrow and slaying of longtime dictator Muammar Qadhafi.

More In: World | International | News