Bogor (, ) is a city in the West Java province, Indonesia. Located around south of the national capital of Jakarta, Bogor is the 6th largest city in the Jakarta metropolitan area and the 14th overall nationwide. The city covers an area of 118.50 km2, and it had a population of 950,334 in the 2010 Census and 1,043,070 in the 2020 Census. The official estimate for mid 2022 is 1,099,422. Bogor is an important economic, scientific, cultural, and tourist center, as well as a mountain resort. During the Middle Ages, the city served as the capital of the Sunda Kingdom () and was called Pakuan Pajajaran or Dayeuh Pakuan. During the Dutch colonial era, it was named Buitenzorg ("without worries" in Dutch) and served as the summer residence of the Governor-General of the Dutch East Indies. With several hundred thousand people living on an area of about , the central part of Bogor is one of the world's most densely populated areas. The city has a presidential palace and a botanical garden () – one of the oldest and largest in the world. It bears the nickname "Rainy City" (Kota Hujan), because of frequent rain showers, even during the dry season. History Precolonial period The first mention of a settlement at present Bogor dates to the 5th century when the area was part of Tarumanagara, one of the earliest states in Indonesian history. After a series of defeats by the neighboring Srivijaya, Tarumanagara was transformed into the Sunda Kingdom, and in 669, the capital of Sunda was built between two parallel rivers, the Ciliwung and Cisadane. It was named Pakuan Pajajaran, in old Sundanese meaning "a place between the parallel [rivers]", and became the predecessor of the modern Bogor. Over the next several centuries, Pakuan Pajajaran became one of the largest cities in medieval Indonesia with a population reaching 48,000. The name Pajajaran was then used for the entire kingdom, and the capital was simply called Pakuan. The chronicles of that time were written in Sanskrit, which was the language used for official and religious purposes, using the Pallava writing system, on rock stellas called prasasti. The prasasti found in and around Bogor differ in shape and text style from other Indonesian prasasti and are among the main attractions of the city. From the 9th-15th centuries, the capital moved between Pakuan and other cities of the kingdom, and finally returned