The Kingdom of Mrauk-U was an independent coastal kingdom of Arakan which existed for over 350 years. It was based in the city of Mrauk-U, near the eastern coast of the Bay of Bengal. The kingdom from 1429 to 1785 ruled over what is now Rakhine State, Myanmar and Chittagong Division, Bangladesh. From 1429 to 1531 it was a protectorate of the Bengal Sultanate at different time periods. After gaining independence from Bengal, it prospered with help from the Portuguese settlement in Chittagong. In 1666, it lost control of Chittagong after a war with the Mughal Empire. Its reign continued until the 18th century, when it fell to the invasion of the Burmese Empire. It was home to a multiethnic population including Arakanese Burmese and Arakanese Indians. The city of Mrauk U was home to mosques, temples, shrines, seminaries and libraries. The kingdom was also a center of piracy and the slave trade. It was frequented by Arab, Danish, Dutch and Portuguese traders.. Who lost control of Chittagong in 1666?