The Khoikhoi ("men of men") or Khoi, in standardised Khoekhoe/Nama orthography spelled Khoekhoe, are a historical division of the Khoisan ethnic group of southwestern Africa, closely related to the Bushmen (or San, as the Khoikhoi called them). At the time of the arrival of white settlers in 1652, they had lived in southern Africa for about 30,000 years and practised extensive pastoral agriculture in the Cape region.