Read this and answer the question

Ahom Kingdom (1228–1826) was a kingdom and tribe which rose to prominence in present-day Assam early in the thirteenth century. They ruled much of Assam from the 13th century until the establishment of British rule in 1838. The Ahoms brought with them a tribal religion and a language of their own, however they later merged with the Hindu religion. From thirteenth till seventeenth century, repeated attempts were made by the Muslim rulers of Delhi to invade and subdue Ahoms, however the Ahoms managed to maintain their independence and ruled themselves for nearly 600 years.

What event caused the end of Ahom rule in Assam?
British rule