Why it's the capital
Until 1965 the Bechuanaland Protectorate was run from Mafeking, a town outside its own borders, in what is now South Africa. A new capital was built from 1964 on a site close to fresh water and the railway to Pretoria, and not tied to any single tribe. Botswana became independent in 1966.