In the 1820s, during a period of severe drought, after the abolition of slavery caused the Great Trek, Nguni armies, Southern (Xhosa) and especially Northern Nguni (Zulu, Swazi, Shangani, Gaza, Matabele or Ndebele, and Ngoni) people who speak related Bantu languages and inhabit southeast Africa from Cape Province to southern Mozambique, began to migrate to Mozambique from what is now South Africa. One Nguni chief, Nxaba, established a short-lived kingdom inland from Sofala, but in 1837 he was defeated by Soshangane, a powerful Nguni rival. Eventually Soshangane established his capital in the highlands of the middle Sabi River in what is present day Zimbabwe. Soshangane named his empire "Gaza" after his grandfather.