Task: Question Answering
Input (English): Passage: 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". Question: Who was initially named prime minister by the GNC?
Output (English): Mustafa A.G. Abushagur