Correa was elected President of Ecuador in late 2006 and took office in January 2007. In December 2008, he declared Ecuador's national debt illegitimate, based on the argument that it had been contracted by despotic prior regimes.