The city of Bangkok is the capital, largest urban area and primary city of Thailand. Known inThai as Krung Thep Maha Nakhon for short, it was a small trading post at the mouth of the Chao Phraya River during the Ayutthaya Kingdom and came to the forefront of Thailand when it was given the status as the capital city in 1768 after the burning of Ayutthaya, the former kingdom seat and capital of the Ayuthaya province. It was also ranked by "Travel and Leisure," as the best city in the world for the year 2008.

However, the current Rattanakosin Kingdom did not begin until 1782 when the capital was moved across the river after being sacked by the Burmese. The Rattanakosin capital is now more formally called "Phra Nakorn", pertaining to the ancient boundaries in the metropolis' core and the name Bangkok now incorporates the urban build-up since the 18th century which has its own public administration and governor.

In the span of over two hundred years, Bangkok has been the political, social and economiccenter of not only Thailand but for much of South East Asia and Indochina as well. Its influence in the arts, politics, fashion, education and entertainment as well as being a business, financial and cultural center of Asia has given Bangkok the status of a global city.

Bangkok is the world's 22nd largest city by population with approximately 8,160,522 registered residents (July 2007), but due to large unregistered influxes of migrants from the North East of Thailand and of many nations across Asia, the population of greater Bangkok is estimated at nearly 15 million people.[citation needed] This has in turn shifted the country from being a rather homogenous Thai population to increasingly a more vibrant mix of Western, Indian and Chinese people. The capital is part of the heavily urbanized triangle of central and eastern region of Thailand which stretches from Nakhon Ratchasima along Bangkok to the industrialized eastern seaboard.

The Bangkok Province borders six other provinces: Nonthaburi, Pathum Thani, Samut Prakan,Samut Sakhon and Nakhon Pathom, and all five provinces are joined in the conurbation of theBangkok Metropolitan Area.

The town of Bangkok on the west bank of the Chao Phraya River before the establishment of the Ayutthaya Kingdom, the precursor of modern Thailand which existed from 1350 to 1767. The etymology of the town's name is unclear. Bang is the Central Thai name for a town situated on the bank of a river. It is believed that "Bangkok" derived from either Bang Kok, being the Thai name for one or more olive-bearing fruits or Bang Koh, koh meaning "island," a reference to the area's landscape which was carved by rivers and canals.

after the fall of Ayutthaya to the Burmese Kingdom in 1767, the newly declared King Taksin established a new capital in the area of then-Bangkok, which became known as Thonburi. When Taksin's reign ended in 1782, King Buddha Yodfa Chulaloke reconstructed the capital on the east bank of the river and gave the city a ceremonial name (see below) which became shortened to its current official name, Krung Thep Maha Nakhon (which, like "Los Angeles", means "city of angels"). The new city, however, also inherited the name Bangkok, which continued to be used by foreigners to refer to the entire city and became its official English name, while in Thai the name still refers only to the old district on the west bank of the river. The city has since vastly modernized and undergone numerous changes, including the introduction of transportation and utility infrastructure in the reigns of King Mongkut and King Chulalongkorn, and quickly developed into the economic center of Thailand.