the gradual process of consolidation of the tswana and sotho peoples brought together a loose confederation of tribal kingdoms , founded originally , according to tribal historians , throughout the southern part of the continent towards the end of the first millennium , by a general but undeliberate southerly and eastern migration , whose impetus has been lost to us : perhaps a search for fresh hunting grounds , and new territory , by an expanding population both human and dragon .