Following the Comprehensive Peace Agreement, elections initially did not play a role in determining the composition of the interim national government, the South Sudan government, or the state legislatures.[3] An out of date national census and, in the case of South Sudan, a complete lack of infrastructure for conducting an election, rendered the electoral process moot.[3] As a result, all government officials and all governing bodies consisted of appointed officials until the completion of a census in 2008 and national elections in 2010.[3] The SPLM rejected the results of the census, claiming that it underestimated populations in the South.[3] The National Elections Act of 2008 provided the legal framework for conducting elections in Sudan, South Sudan, and in each state.[3] The National Elections Commission was responsible for developing the regulations, rules, and orders for the election of the national president, South Sudan president, state governors, National Assembly, South Sudan Legislative Assembly, and state assemblies.[3]