Over the past 32 years, the economy of Thailand has expanded. The GDP at current prices shows that from 1980 to 2012 the Thai economy has expanded nearly sixteen-fold when measured in baht, or nearly eleven-fold when measured in dollars. This makes Thailand the 32nd-biggest economy in the world, according to the IMF. With regard to GDP, Thailand has undergone five periods of economic growth. From 1980 to 1984, the economy has grown by an average of 5.4 percent per year. After the 1984 baht devaluation and the 1985 Plaza Accord, a significant amount of foreign direct investment (mainly from Japan) raised the average growth rate per year to 8.8 percent from 1985 to 1996 before slumping to -5.9 percent per year from 1997 to 1998. From 1999 to 2006, Thailand averaged a growth rate of 5.0 percent per year. Since 2007, the country has faced a number of challenges: a military coup in late 2006, political turmoil from 2008 to 2011, the U.S. financial-institution crisis reaching its peak from 2008 to 2009, floods in 2010 and 2011 and the 2012 Eurozone Crisis. As a result, from 2007 to 2012 the average GDP growth rate was 3.25 percent per year.