In 2006 he left Alabama to chair the EE Department and to lead the effort to establish the graduate program at The Petroleum Institute in the UAE (where El-Keib remained until he joined the Libyan Transitional National Council as one of its representatives for Tripoli in 2011).
He supervised many MSc theses and PhD dissertations on "capacitive compensation planning and operation for primary distribution feeders" and was the recipient of several teaching and research awards.
His work on Emissions Constrained Dispatch and VoltlVar compensation on primary distribution feeders has been implemented by several companies in the United States.
[citation needed] On 1 November 2011, El-Keib was named the interim Prime Minister of Libya after garnering 26 out of 51 votes from the Libyan National Transitional Council (NTC).
[11] Despite repeated clashes with the NTC, his Cabinet stayed in office through the national elections, which it held successfully in a transparent, free, and democratic manner.
In addition, he exerted serious effort to ensure the members of the African Union and other countries such as Russia, China and other southeastern Asian nations of Libya's interest to maintain mutually beneficial political, security, and economic relationships, and collaborations which are based on mutual respect and respect for national sovereignty and interests.