During the 1970s, foreign debt increased faster than export earnings. By the end of the decade, Somalia's debt of 4 billion shillings equaled the earnings from seventy-five years' worth of banana exports (based on 1978 data). About one-third was owed to centrally planned economies (mainly the Soviet Union, US$110 million; China, US$87.2 million; with small sums to Bulgaria and the German Democratic Republic (East Germany). Another one-third of the debt was owed to countries in the Organisation for Economic Cooperation and Development (OECD). Finally, one-third was owed to members of the Organization of the Petroleum Exporting Countries (OPEC) (principally Saudi Arabia, US$81.9 million; Abu Dhabi, US$67.0 million; the Arab Fund for Economic and Social Development, US$34.7 million; Kuwait, US$27.1 million; and smaller amounts to Iraq, Qatar, the OPEC special account, Libya, and Algeria, in that order). Many loans, especially from the Soviet Union, were, in effect, written off. Later, many loan repayments to OECD states were rescheduled. But thanks to the accumulated debt burden, by the 1980s the economy could not attract foreign capital, and virtually all international funds made available to Somalia in rescheduling agreements came with the provision that international civil servants would monitor all expenditures. As a result of its international debt, therefore, Somalia lost control over its macroeconomic structure.