consumption. The principal imports were foodstuffs, cotton goods, hardware, and British coal. Legislation against foreign traders was implemented in the 1890s. The territory's prosperity, however, continued to depend on plantations worked by labor "indentured" from the interior. Before World War II, the Portuguese government was concerned primarily with keeping its colonies self-sufficient and therefore invested little capital in Angola's local economy. It built no roads until the mid-1920s, and the first railroad, the Benguela Railway, was not completed until 1929. Between 1900 and 1940, only 35,000 Portuguese emigrants settled in Angola, and most worked in commerce in the cities, facilitating trade with Portugal. In the rural areas, Portuguese settlers often found it difficult to make a living because of fluctuating world prices for sugarcane and sisal and the difficulties in obtaining cheap labor to farm their crops. As a result, they often suspended their operations until the market prices rose and instead marketed the produce of Angolan farmers. But in the wake of World War II, the rapid growth of industrialization worldwide and the parallel requirements for raw materials led Portugal to develop closer ties with its colonies and to begin actively developing the Angolan economy. In the 1930s, Portugal started to develop closer trade ties with its colonies, and by 1940 it absorbed 63 percent of Angolan exports and accounted for 47 percent of Angolan imports, up from 39 percent and 37 percent, respectively, a decade earlier. When the price of Angola's principal crops—coffee and sisal—jumped after the war, the Portuguese government began to reinvest some profits inside the country, initiating a series of projects to develop infrastructure. During the 1950s, Portugal built dams, hydroelectric power stations, and transportation systems. In addition, Portuguese citizens were encouraged to emigrate to Angola, where planned settlements (colonatos) were established for them in the rural areas. Finally, the Portuguese initiated mining operations for iron ore, manganese, and copper to complement industrial activities at home, and in 1955 the first successful oil wells were drilled in Angola. By 1960 the Angolan economy had been completely transformed, boasting a successful commercial agricultural sector, a promising mineral and petroleum production enterprise, and an incipient manufacturing industry. Yet by 1976, these encouraging developments had been reversed. The economy was in complete disarray in the aftermath of the war of independence and the subsequent internal fighting of the liberation movements. According to the ruling MPLA-PT, in August 1976