The Emerald Buddha remained in Chiang Mai until 1552, when it was taken to Luang Prabang, then the capital of the Lao kingdom of Lan Xang. Some years earlier, the crown prince of Lan Xang, Setthathirath, had been invited to occupy the vacant throne of Lan Na as his mother was the daughter of the king of Chiang Mai who had died without an heir. However, Prince Setthathirath also became king of Lan Xang when his father, Photisarath, died. He returned home, taking the revered Buddha figure with him.