Following a civil war that resulted in the overthrow of Vieira, general elections were held for a second time in late 1999, with a presidential runoff in January 2000. This time Ialá defeated the PAIGC candidate and acting President Malam Bacai Sanhá. The PRS emerged as the largest party in the National People's Assembly, but held only 38 of the 102 seats; the PAIGC finished third behind the Resistance of Guinea-Bissau-Bafatá Movement.