It was captured by the British after victory in the Fourth Anglo-Mysore War (1799), who returned administrative control of the city to the Maharaja of Mysore.The old city developed in the dominions of the Maharaja of Mysore and was made capital of the Princely State of Mysore, which existed as a nominally sovereign entity of the British Raj.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.
The region of modern-day Bangalore was part of several successive South Indian kingdoms.
An apocryphal story recounts that the 12th century Hoysala king Veera Ballala II, while on a hunting expedition, lost his way in the forest.
Tired and hungry, he came across a poor old woman who served him boiled beans.
A discovery of Stone Age artefacts during the 2001 census of India at Jalahalli, Sidhapura and Jadigenahalli, all of which are located on Bangalore's outskirts today, suggest probable human settlement around 4,000 BCE.
Around 1,000 BCE (Iron Age), burial grounds were established at Koramangala and Chikkajala on the outskirts of Bangalore.