Bandaranaike stayed as leader of the SLFP despite losing every general election in the next ten years. Her party led a coalition (the People's Alliance) to win the general elections in 1994. Bandaranaike's daughter, Chandrika, became prime minister, and was then elected president the same year. Bandaranaike became prime minister again, but the constitution had changed since her last term. As prime minister she was now subordinate to her daughter, the President. She stayed in office until a few months before her death, but had little real power. She resigned on 10 August 2000. Exactly two months later she died, aged 84, of a heart attack.