Following his defeat in the civil war , Gaddafi 's system of governance was dismantled and replaced by the interim government of the NTC , which legalised trade unions and freedom of the press . In July 2012 , elections were held to form a new General National Congress ( GNC ) , which officially took over governance from the NTC in August . The GNC elected Mohammed Magariaf as president of the chamber , and Mustafa A.G. Abushagur as Prime Minister ; when Abushagar failed to gain congressional approval , the GNC elected Ali Zeidan to the position . In January 2013 , the GNC officially renamed the '' Jamahiriyah '' as the " State of Libya " . Gaddafists then founded a new political party , the Popular Front for the Liberation of Libya ; two of its members , Subah Mussa and Ahmed Ali , promoted the new venture by hijacking the Afriqiyah Airways Flight 209 in December 2016 . Led by Saif al-Islam Gaddafi , the Popular Front was allowed to participate in the 2019 Libyan general election
Afriqiyah Airways Flight 209
Afriqiyah Airways Flight 209
Muammar Gaddafi