The Ahom kingdom (/ˈɑːhɔːm/, 1228–1826) was a late medieval kingdom in the Brahmaputra Valley in Assam. It maintained its sovereignty for nearly 600 years having successfully resisted Mughal expansion in Northeast India. Established by Sukaphaa, a Tai prince from Mong Mao (present-day Yunnan Province, China), it began as a mong in the upper reaches of the Brahmaputra based on wet rice agriculture. It expanded suddenly under Suhungmung in the 16th century and became multi-ethnic in character, casting a profound effect on the political and social life of the entire Brahmaputra valley. The kingdom became weaker with the rise of the Moamoria rebellion, and subsequently fell to repeated Burmese invasions of Assam. With the defeat of the Burmese after the First Anglo-Burmese War and the Treaty of Yandabo in 1826, control of the kingdom passed into East India Company hands.