On 7 July 2012, the National Transitional Council, in power since the Libyan Civil War, supervised democratic elections for a 200-member General National Congress to replace the Council.[1] The assembly was to choose a prime minister and organize parliamentary elections in 2013.[1] A process to write a constitution was also to be determined.[1] Unrest driven by armed militias, ethnic minority and radical groups undermined the process and the government for the years following the overthrowing of Muammar Gaddafi.