Tripoli - Libya's premier was ousted by parliament Tuesday after a tanker laden with crude oil from a rebel-held terminal broke through a naval blockade and escaped to sea, underscoring the weakness of the central government.
A no-confidence motion was approved by 124 of the 194 members of the General National Congress, four more than the majority required, MPs said.
The ousted prime minister, Ali Zeidan, was temporarily replaced by Defence Minister Abdullah al-Thani, who was sworn in as caretaker premier until a permanent replacement can be chosen within two weeks, a GNC statement said.
Libya's top prosecutor late Tuesday slapped a travel ban on Zeidan because of his suspected involvement in the embezzlement of public funds, according to a document published on his office's Facebook page.
But Libyan media reported that Zeidan had already left the country.
Zeidan, an independent who had been supported by liberals, proved incapable of bringing to heel former rebel militia that carved out their own fiefdoms after the 2011 uprising that ended Moamer Kadhafi's four-decade rule.
The beleaguered prime minister was even briefly abducted by former rebel militia in the heart of the capital last October.
Earlier Tuesday, in a final humiliation for Zeidan, a North Korean-flagged tanker that had taken on oil from a rebel-held terminal in the east slipped by naval vessels deployed to intercept it.
The Morning Glory, which docked in Al-Sidra Saturday and is reported to have loaded at least 234,000 barrels of crude, is the first vessel to have done so from a rebel-held terminal since the challenge against the Tripoli authorities erupted last July.
Zeidan's government had threatened armed action, even an air strike, to prevent the tanker getting away with the oil bought from the rebels' self-declared autonomous government without the authorisation of state-owned Libyan National Oil Corporation.
But bad weather prevented the small naval vessels -- mostly fast patrol boats -- from following the huge ship out into the Mediterranean, MPs said.
Warships had deployed to block the Morning Glory after Culture Minister Amin al-Habib warned Sunday that the tanker would be "turned into a pile of metal" if it tried to leave port.
The government has said a task force composed of both regular troops and ex-rebel militia is being formed to bring the rebel ports back under central government control within a week.- Danger of new civil war -
But analysts warn that any resort to force risks plunging Libya into civil war and damaging the country's vital oil infrastructure.
The standoff between Tripoli and the eastern rebels has already slashed Libyan oil exports from 1.5 million barrels per day to just 250,000, dealing a massive blow to the North African country's key revenue earner.
The former rebels, who seized control of export terminals last July, are demanding the restoration of the autonomy that the eastern region of Cyrenaica enjoyed for the first 12 years after Libyan independence in 1951.
They insist that all oil sales they make will be transparent but that revenues from eastern exports should be kept by the region.
Washington said Sunday it was "deeply concerned" over the oil shipment, saying it amounted to "theft from the Libyan people."
Zeidan had warned that the country faced chaos if he were ousted without a consensus on his replacement.
But MPs were angry over the government's failure to make good on its threat to stop the tanker by force if necessary.
"The situation in the country has become unacceptable. Even those MPs who used to support the prime minister no longer have any alternative," MP Suad Gannur told AFP.
US State Department spokeswoman Jen Psaki said Washington would "continue to support the democratically elected Libyan government and its people."
"We appreciate the leadership of the prime minister, who navigated a fragile time in Libya's transition," she added.
Ever since Zeidan took office in November 2012, he and the GNC have blamed each other for the country's woes.
And while the GNC scored a victory of sorts on Tuesday, it is also unpopular among much of the population. In December, having failed to lay the groundwork for the adoption of a new constitution, it extended until the end of 2014 a mandate that was supposed to have ended in February.
But under popular pressure, it agreed to a new roadmap for legislative and presidential elections to be held before a new charter is adopted.
And on Tuesday, it decided to leave the decision on whether the president would be chosen by lawmakers or universal suffrage to a new parliament, a date for whose election has still not been set.