The first Muslims to settle in Arakan were in the area by the 1400s CE. Many served in the court of the Buddhist King Narameikhla (Min Saw Mun), who ruled Arakan in the 1430s, and who welcomed Muslim advisers and courtiers into his capital. Arakan is on the western border of Burma, near what is now Bangladesh, and the later Arakanese kings modeled themselves after the Mughal emperors, even using Muslim titles for their military and court officials.