The IMF was established in 1944 in the aftermath of the Great Depression of the 1930s. 44 founding member countries sought to build a framework for international economic cooperation. Today, its membership embraces 190 countries, with staff drawn from 150 nations. The IMF is governed by and accountable to those 190 countries that make up its near-global membership. At the top of its organizational structure is the Board of Governors. The day-to-day work of the IMF is overseen by its 24-member Executive Board, which represents the entire membership and is supported by IMF staff. The Managing Director is the head of the IMF staff and Chair of the Executive Board. S/he is assisted by four Deputy Managing Directors. The IMF's resources mainly come from the money that countries pay as their capital subscription (quotas) when they become members. Each member of the IMF is assigned a quota, based broadly on its relative position in the world economy. Countries can then borrow from this pool when they fall into financial difficulty.