Bangkok's economy gradually expanded through busy international trade, first with China, then with Western merchants returning in the early-to-mid 19th century.
Administration of the city was first formalized by King Chulalongkorn in 1906, with the establishment of Monthon Krung Thep Phra Maha Nakhon () as a national subdivision.