Detailed Instructions: In this task, you are given a question and a context passage. You have to answer the question based on the given passage.
Q: Why did the NTC take over?, Context: 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".
A:
Following his defeat in the civil war, Gaddafi's system of governance was dismantled