Task: Question Generation
Input (English): Following his defeat in the civil war, Gaddafi's system of governance was dismantled and replaced under the interim government of the NTC, who legalised trade unions and freedom of the press. In July 2012, elections were held to form a new General National Congress (GNC), who officially took over governance from the NTC in August. The GNC proceeded to elect Mohammed Magariaf as president of the chamber, and then voted Mustafa A.G. Abushagur as Prime Minister; when Abushagar failed to gain congressional approval, the GNC instead elected Ali Zeidan to the position. In January 2013, the GNC officially renamed the Jamahiriyah as the "State of Libya".
Output (English): Who did the GNC eventually make prime minister?