<P> 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 Lanna as his mother was the daughter of the king of Chiang Mai who had died without a son . However, Prince Setthathirath also became king of Lan Xang when his father, Photisarath, died . He returned home, taking the revered Buddha figure with him . </P> <P> In 1564, King Setthathirath moved it to Vientiane, which he had made his new capital due to Burmese attacks and where the Buddha image was housed in Haw Phra Kaew . The Buddha image would stay in Vientiane for the next 214 years . </P> <P> In 1779, the Thai General Chao Phraya Chakri put down an insurrection, captured Vientiane and took the Emerald Buddha to Siam . It was installed in a shrine close to Wat Arun in Thonburi, its new capital . Chao Phra Chakri then took over the reins and founded the Chakri Dynasty of Rattanakosin Kingdom . He adopted the title Rama I and shifted his capital across the Menam Chao Phra river to its present location in Bangkok, and constructed the new Grand Palace including Wat Phra Kaew within its compound . Wat Phra Kaew was consecrated in 1784, and the Emerald Buddha was moved with great pomp and pageantry to its current home in the Ubosoth of the Wat Phra Kaew temple complex on 22 March 1784 . </P> <P> The legend of the Emerald Buddha is related in number of sources such as Jinakalamali, Amarakatabuddharupanidana, and in particular Ratanabimbavamsa or The Chronicle of the Emerald Buddha written in Pali by Brahmarājapañña in the 15th century . The story is a mix of fact and fables with some variations to the story . According to the legend, the Emerald Buddha was created in India in 43 BC by a saint in India named Nagasena in the city of Pataliputra (today's Patna). Nagasena was said to have made the Emerald Buddha image made with the help of Hindu god Vishnu and demigod Indra, 500 years after Buddha attained Nirvana . He was said to have predicted that: </P>

Where is the emerald buddha located and when was it moved to this location