Megawati Sukarnoputri was Indonesia's first female president (2001-2004), its second democratically elected president, and the fourth woman to be head of a Muslim-majority state. Despite being daughter of Sukarno, leader of Indonesia's independence and its first president, she avoided politics until 1987. Sukarnoputri played a prominent role in the pro-democracy movement of the late 1990s, and her party secured a plurality of votes in the 1999 legislative elections. However, objections from religious conservatives prevented her from securing the presidency. Instead she became vice-president under Abdurrahaman Wahid, until his dismissal in 2001 left her as head of state. Her administration was criticized as ineffective in dealing with corruption and rising Islamic radicalism, particularly following the 2002 Bali bombings. She sought re-election in 2004 and 2009 but lost both contests to Susilo Bambang Yudhoyono. As chairwoman of the Indonesian Democratic Party of Struggle she remains politically influential.