The Arab League and Egypt threw their weight behind Libya's rebels on Monday as opposition forces cornered Muammar Gadhafi's loyalists in their remaining strongholds in the capital Tripoli.

"Arab League chief Nabil Elaraby offers his full solidarity with the ongoing efforts under the leadership of the National Transitional Council," the Cairo-based League said a statement that was its first formal acknowledgement of the council.

Open gallery view Libyan rebel fighters gesture at the former female military base in Tripoli, LIbya, Monday, Aug. 22, 2011. Credit: AP

Egypt also said it backed the new Libyan leadership. "Egypt recognized the new system in Libya and its legitimate leadership represented in the Libyan National Transitional Council," Foreign Minister Mohamed Kamel Amr said in a statement.

Amr said the premises of Libya's permanent representative at the Arab League would be handed over to the national council. The Arab League suspended Libya's membership after Gadhafi's forces launched a bloody crackdown to try to stop an uprising spreading in the east of the country in February.

The League then backed a no-fly zone over Libya patrolled by mostly western powers, a historic move given Arab opposition to the 2003 U.S.-led invasion of Iraq.

Since then the League has only sent medical aid to Libya and stopped short of formal dealings with the rebel council. That changed on Monday as rebel fighters captured most of the Libyan capital.

"This is a historic moment that marks a milestone in the history of the Libyan people. We hope the council's efforts are successful in leading the new phase and protecting the independence, sovereignty and integrity of Libyan lands," the League said.

Egypt, which had around 1.5 million migrant workers in Libya before the conflict erupted, has so far avoided any official mention of the council -- in contrast to France, the United States and Britain which threw their

weight behind it early in the conflict.

The European Union said it was already planning for the post-Gadhafi administration of Libya following the rapid advance of rebel forces.

