The civil war ended in 2002 following Savimbi's death. However, elections were delayed until 2008. The MPLA received over 80% of the vote, winning 191 of the 220 seats in the National Assembly. Presidential elections were scheduled for 2009, but a new constitution promulgated in 2010 scrapped direct elections for the presidency, with the leader of the largest party in the National Assembly automatically becoming president. The next elections in 2012 saw another landslide victory for the MPLA, although their vote share was reduced to 72% and they lost 16 seats.