 Almost overnight the Transvaal changed from being the most rural, backward, and impoverished state of South Africa to being the provider of 25% of the world's gold.The discovery of diamonds in the Cape had led to a vast inflow of investor capital.Railways were built, opening the country up, and migrants flooded in; in their wake came social and material development.