The history of the city of Bangkok, Thailand, dates at least to the early fifteenth century, when it was under the rule of Ayutthaya. Due to its strategic location near the mouth of the Chao Phraya River, the town gradually increased in importance, and after the fall of Ayutthaya, King Taksin established his new capital of Thonburi there on the river's western bank. King Buddha Yodfa Chulaloke, who succeeded Taksin, moved the capital to the eastern bank in 1782, to which the city dates its foundation under its current Thai name, Krung Thep Maha Nakhon. Bangkok has since undergone tremendous changes, growing rapidly, especially in the second half of the 20th century, to become the primate city of Thailand. It was the centre of Siam's modernisation in the late 19th century, subjected to Allied bombing during World War II, and has long been the modern nation's central political stage, with numerous uprisings and coups d'état having taken place on its streets throughout the years.