 Mass migration to towns, urban growth, and the increasing urban demand for rural produce prompted the development of South Africa's transport and communications infrastructure.Railways were greatly expanded to link towns to each other and to the countryside, and ports such as Durban and Cape Town were expanded to cope with increasing immigration and commercial activity, greatly stimulated development in South Africa.The Mineral Revolution had a major impact on political developments in South Africa.