Sudan was previously in a transitional period following the signing of a Comprehensive Peace Agreement (CPA) on 9 January 2005 that officially ended the civil war between the Sudanese Government (based in Khartoum) and the southern-based Sudan People's Liberation Movement (SPLM) rebel group. The National Assembly consisted of 450 appointed members who represent the government, former rebels, and other opposition political parties. The National Assembly, whose members were appointed in mid-2005 replaced the latest elected parliament. All members of the National Legislature serve six-year terms. Article 117 of the Interim Constitution called for the 450 members of the National Assembly to be appointed according to the following power-sharing formula: