The history of Assam is the history of a confluence of people from the east, west, south and the north; the confluence of the Austroasiatic, Tibeto-Burman (Sino-Tibetan), Tai and Indo-Aryan cultures. Although invaded over the centuries, it was never a vassal or a colony to an external power until the third Burmese invasion in 1821, and, subsequently, the British ingress into Assam in 1824 during the First Anglo-Burmese War. A common theme of Medieval kingship narratives in Assam is associated with shaktism and the Kamakhya temple.