From 1904 to 1908, the German Empire, which had colonized present-day Namibia, waged a war against the Nama and the Herero (a group of Bantu pastoralists), leading to the Herero and Namaqua genocide and a large loss of life for both the Nama and Herero populations. This was motivated by the German desire to establish a prosperous colony which required displacing the indigenous people from their agricultural land. Large herds of cattle were confiscated and Nama and Herero people were driven into the desert and in some cases interned in concentration camps on the coast, for example at Shark Island. Additionally, the Nama and Herero were forced into slave labor to build railways and to dig for diamonds during the diamond rush.