In the reign of King Taksin, Chao Phya Chakri (who later became Rama 1) defeated Vientiane and moved the Emerald Buddha from Vientiane to Thonburi where it was installed in a shrine close to Wat Arun. Chao Phra Chakri then took over the throne and founded the Chakri Dynasty of the Rattanakosin Kingdom, and shifted his capital across the river to its present location in Bangkok. The Emerald Buddha was also moved across the river with pomp and pageantry and installed in the temple of Wat Phra Keaw.