The Batswana, a term also used to denote all citizens of Botswana, refers to the nation's major ethnic group, which came into the area from South Africa during the Zulu wars of the early 1880s. Prior to European contact, the Batswana lived as herders and farmers under tribal rule.
In the late 19th century, hostilities broke out between the Batswana and Boer settlers from the Transvaal. After appeals by the Batswana for assistance, the British Government in 1885 put "Bechuanaland" under its protection. The northern territory remained under direct administration and is today's Botswana, while the southern territory became part of the Cape Colony and is now part of the northwest province of South Africa; the majority of Setswana-speaking people today live in South Africa.
In June 1964, Britain accepted proposals for democratic self-government in Botswana. The seat of government was moved from Mafikeng, in South Africa, to newly accomplished Gaborone in 1965. The 1965 constitution led to the first general elections and to freedom in September 1966. Seretse Khama, a leader in the freedom movement and the legitimate claimant to orthodox rule of the Batswana, was elected as the first president, re-elected twice, and died in office in 1980. The presidency passed to the sitting vice president, Ketumile Masire, who was elected in his own right in 1984 and re-elected in 1989 and 1994. Masire retired from office in 1998. The presidency passed to the sitting vice president, Festus Mogae, who was elected in his own right in 1999.