Bangalore also rendered Bengaluru is the capital of the Indian state of Karnataka. Located on the Deccan Plateau in the south-eastern part of Karnataka, Bangalore is India's third most populous city and fifth-most populous urban agglomeration. Bangalore is well known as a hub for India's information technology sector. It is among the top 10 preferred entrepreneurial locations in the world. As a growing metropolitan city in a developing country, Bangalore confronts substantial pollution and other logistical and socio-economic problems.
A succession of South Indian dynasties ruled the region of Bangalore until in 1537 AD, Kempé Gowdā—a feudatory ruler under the Vijayanagara Empire—established a mud fort considered to be the foundation of modern Bangalore. Following transitory occupation by the Marāthās and Mughals, the city remained under the Mysore kingdom, which is now a part of the Indian state of Karnataka. Bangalore continued to be a cantonment of the British and a major city of the Princely State of Mysore which existed as a nominally sovereign entity of the British Raj. Following the independence of India in 1947, Bangalore became the capital of Mysore state, and remained capital when the new Indian state of Karnataka was formed in 1956. With a Gross domestic product of $83 billion, Bangalore is listed 4th among the top 15 cities contributing to India's overall GDP.
Bangalore is home to many well-recognized colleges and research institutions in India. Numerous public sector heavy industries, technology companies, aerospace, telecommunications, and defence organisations are located in the city. Bangalore is known as the Silicon Valley of India because of its position as the nation's leading IT exporter. A demographically diverse city, Bangalore is a major economic and cultural hub and the second fastest growing major metropolis in India.
The region of modern day Bangalore was part of several successive South Indian kingdoms. After centuries of the rule of the Western Gangas, the region was captured by the Cholas in 1024. In 1116 the Hoysala Empire overthrew the Cholas and extended its rule over the region. Modern Bangalore had its beginning in 1537 by a vassal of the Vijayanagara Empire, Kempé Gowda I, who built a mud-brick fort at the site that would become the central part of modern Bangalore. Kempé Gowda referred to the new town as his "gandubhūmi" or "Land of Heroes".
After the fall of the Vijayanagara Empire, Bangalore's rule changed hands several times. Kempé Gowda declared independence, then in 1638, a large Adil Shahi Bijapur army led by Ranadulla Khan and accompanied by Shāhji Bhōnslé defeated Kempé 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 leased Bangalore to Chikkadevaraja Wodeyar (1673–1704), the ruler of Mysore kingdom. 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 Mysore. The kingdom later passed to Hyder Ali's son Tipu Sultan.
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 Sultan's death in the Fourth Anglo-Mysore War (1799), the British returned administrative control of the Bangalore "pētē" to the Maharaja of Mysore, choosing only to retain the Cantonment under their jurisdiction. The 'Residency' of Mysore State was first established in Mysore city in 1799 and later shifted to Bangalore in the year 1804. It was abolished in the year 1843 only to be revived in 1881 at Bangalore and to be closed down permanently in 1947, with Indian independence.
In the 19th century, Bangalore essentially became a twin city, with the "pētē", whose residents were predominantly Kannadigas, and the "cantonment" created by the British, whose residents were predominantly Tamils. Bangalore was hit by a plague epidemic in 1898 that dramatically reduced its population. New extensions in Malleswaram and Basavanagudi were developed in the north and south of the pētē. Telephone lines were laid to help co-ordinate anti-plague operations, and a health officer was appointed to the city in 1898. In 1906, Bangalore became one of the first cities in India to have electricity from hydel power, powered by the hydroelectric plant situated in Shivanasamudra. Bangalore's reputation as the Garden City of India began in 1927 with the Silver Jubilee celebrations of the rule of Krishnaraja Wodeyar IV. Several projects such as the construction of parks, public buildings and hospitals were instituted to improve the city. After Indian independence in August 1947, Bangalore remained in the new Mysore State of which the Maharaja of Mysore was the Rajapramukh (appointed governor).
Public sector employment and education provided opportunities for Kannadigas from the rest of the state to migrate to the city. Bangalore experienced rapid growth in the decades 1941–51 and 1971–81, which saw the arrival of many immigrants from northern Karnataka. By 1961, Bangalore had become the sixth largest city in India, with a population of 1,207,000. In the decades that followed, Bangalore's manufacturing base continued to expand with the establishment of private companies such as MICO (Motor Industries Company), which set up its manufacturing plant in the city. Bangalore experienced a growth in its real estate market in the 1980s and 1990s, spurred by capital investors from other parts of the country who converted Bangalore's large plots and colonial bungalows into multi-storied apartments. In 1985, Texas Instruments became the first multinational corporation to set up base in Bangalore. Other information technology companies followed suit and by the end of the 20th century, Bangalore had established itself as the Silicon Valley of India.