They built the railways, they mined gold, and they formed the merchant class of many communities, making some of them very wealthy.