The IMF was conceived in July 1944, when representatives of 45 countries meeting in the town of Bretton Woods, New Hampshire, US, agreed on a framework for international economic cooperation, to be established after the Second World War. They believed that such a framework was necessary to avoid a repetition of the disastrous economic policies that had contributed to the Great Depression.