Modern Bangalore was begun in 1537 by a vassal of the Vijayanagara Empire, Kempe Gowda I, who aligned with the Vijayanagara empire to campaign against Gangaraja (whom he defeated and expelled to Kanchi), and who built a mud-brick fort for the people at the site that would become the central part of modern Bangalore. Kempe Gowda was restricted by rules made by Achuta Deva Raya, who feared the potential power of Kempe Gowda and did not allow a formidable stone fort. Kempe Gowda referred to the new town as his “gandubhūmi” or “Land of Heroes”. Within the fort, the town was divided into smaller divisions—each called a “pete” (Kannada pronunciation: [peːteː]). The town had two main streets—Chikkapeté Street, which ran east-west, and Doddapeté Street, which ran north-south. Their intersection formed the Doddapeté Square—the heart of Bangalore. Kempe Gowda I’s successor, Kempe Gowda II, built four towers that marked Bangalore’s boundary. During the Vijayanagara rule, many saints and poets referred to Bangalore as “Devarāyanagara” and “Kalyānapura” or “Kalyānapuri” (“Auspicious City”).
After the fall of the Vijayanagara Empire in 1565 in the Battle of Talikota, Bangalore’s rule changed hands several times. Kempe Gowda declared independence, then in 1638, a large Adil Shahi Bijapur army led by Ranadulla Khan and accompanied by his second in command Shāhji Bhōnslé defeated Kempe Gowda III, and Bangalore was given to Shāhji as a jagir (feudal estate). In 1687, the Mughal general Kasim Khan, under orders from Aurangzeb, defeated Ekoji I, son of Shāhji, and sold Bangalore to Chikkadevaraja Wodeyar (1673–1704), the then ruler of the Kingdom of Mysore for three lakh rupees. After the death of Krishnaraja Wodeyar II in 1759, Hyder Ali, Commander-in-Chief of the Mysore Army, proclaimed himself the de facto ruler of the Kingdom of Mysore. Hyder Ali is credited with building the Delhi and Mysore gates at the northern and southern ends of the city in 1760. The kingdom later passed to Hyder Ali’s son Tipu Sultan. Hyder and Tipu contributed towards the beautification of the city by building Lal Bagh Botanical Gardens in 1760. Under them, Bangalore developed into a commercial and military centre of strategic importance.
The Bangalore fort was captured by the British armies under Lord Cornwallis on 21 March 1791 during the Third Anglo-Mysore War and formed a centre for British resistance against Tipu Sultan. Following Tipu’s death in the Fourth Anglo-Mysore War (1799), the British returned administrative control of the Bangalore “pētē” to the Maharaja of Mysore and was incorporated into the Princely State of Mysore, which existed as a nominally sovereign entity of the British Raj. The old city (“pētē”) developed in the dominions of the Maharaja of Mysore. The Residency of Mysore State was first established in Mysore City in 1799 and later shifted to Bangalore in 1804. It was abolished in 1843 only to be revived in 1881 at Bangalore and to be closed down permanently in 1947, with Indian independence. The British found Bangalore to be a pleasant and appropriate place to station their garrison and therefore moved their cantonment to Bangalore from Seringapatam in 1809 near Halsur, about 6 kilometres (4 mi) north-east of the city. A town grew up around the cantonment, by absorbing several villages in the area. The new centre had its own municipal and administrative apparatus, though technically it was a British enclave within the territory of the Wodeyar Kings of the Princely State of Mysore. Two important developments which contributed to the rapid growth of the city, include the introduction of telegraph connections to all major Indian cities in 1853 and a rail connection to Madras, in 1864.
Bangalore lies in the southeast of the South Indian state of Karnataka. It is in the heart of the Mysore Plateau (a region of the larger Precambrian Deccan Plateau) at an average elevation of 900 m (2,953 ft).:8 It is located at 12.97°N 77.56°E and covers an area of 741 km2 (286 sq mi). The majority of the city of Bangalore lies in the Bangalore Urban district of Karnataka and the surrounding rural areas are a part of the Bangalore Rural district. The Government of Karnataka has carved out the new district of Ramanagara from the old Bangalore Rural district.
The topology of Bangalore is generally flat, though the western parts of the city are hilly. The highest point is Vidyaranyapura Doddabettahalli, which is 962 metres (3,156 feet) and is situated to the north-west of the city. No major rivers run through the city, although the Arkavathi and South Pennar cross paths at the Nandi Hills, 60 kilometres (37 miles) to the north. River Vrishabhavathi, a minor tributary of the Arkavathi, arises within the city at Basavanagudi and flows through the city. The rivers Arkavathi and Vrishabhavathi together carry much of Bangalore’s sewage. A sewerage system, constructed in 1922, covers 215 km2 (83 sq mi) of the city and connects with five sewage treatment centres located in the periphery of Bangalore.
In the 16th century, Kempe Gowda I constructed many lakes to meet the town’s water requirements. In the earlier half of 20th century, the Nandi Hills waterworks was commissioned by Sir Mirza Ismail (Diwan of Mysore, 1926–41 CE) to provide a water supply to the city. Currently, the river Kaveri provides around 80% of the total water supply to the city with the remaining 20% being obtained from the Thippagondanahalli and Hesaraghatta reservoirs of the Arkavathi river.
Bangalore receives 800 million litres (211 million US gallons) of water a day, more than any other Indian city. However, Bangalore sometimes does face water shortages, especially during summer- more so in the years of low rainfall. A random sampling study of the Air Quality Index (AQI) of twenty stations within the city indicated scores that ranged from 76 to 314, suggesting heavy to severe air pollution around areas of traffic concentration.
Bangalore has a handful of freshwater lakes and water tanks, the largest of which are Madivala tank, Hebbal lake, Ulsoor lake, Yediyur Lake and Sankey Tank. Groundwater occurs in silty to sandy layers of the alluvial sediments. The Peninsular Gneissic Complex (PGC) is the most dominant rock unit in the area and includes granites, gneisses and migmatites, while the soils of Bangalore consist of red laterite and red, fine loamy to clayey soils.
Vegetation in the city is primarily in the form of large deciduous canopy and minority coconut trees. Though Bangalore has been classified as a part of the seismic zone II (a stable zone), it has experienced quakes of magnitude as high as 4.5.
Bangalore has a tropical savanna climate (Köppen climate classification Aw) with distinct wet and dry seasons. Due to its high elevation, Bangalore usually enjoys a more moderate climate throughout the year, although occasional heat waves can make summer somewhat uncomfortable. The coolest month is January with an average low temperature of 15.1 °C (59.2 °F) and the hottest month is April with an average high temperature of 35 °C (95 °F). The highest temperature ever recorded in Bangalore is 39.2 °C (103 °F) (recorded on 24 April 2016) as there was a strong El Nino in 2016 There were also unofficial records of 41 °C (106 °F) on that day. The lowest ever recorded is 7.8 °C (46 °F) in January 1884. Winter temperatures rarely drop below 14 °C (57 °F), and summer temperatures seldom exceed 36 °C (97 °F). Bangalore receives rainfall from both the northeast and the southwest monsoons and the wettest months