 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 with the city of Mrauk U being home to mosques, temples, shrines, seminaries and libraries.