She became president of the world 's third-largest democracy , after India and the United States , in 2001 , but her administration is remembered for inaction and corruption and she was ousted in a landslide by Yudhoyono in 2004 .