The Bangalore Cantonment (1806–1881) was a military cantonment of the British Raj based in the Indian city of Bangalore. The cantonment covered an area of 13 square miles, extending from the Residency on the west to Binnamangala on the east and from the Tanneries in the north to Agram in the south. By area, it was the largest British military cantonment in South India. The British garrison stationed in the cantonment included three artillery batteries, and regiments of the cavalry, infantry, sappers, miners, mounted infantry, supply and transport corps and the Bangalore Rifle Volunteers. The Bangalore Cantonment was directly under the administration of the British Raj, while Bangalore City itself was under the jurisdiction of the Durbar of the Kingdom of Mysore.
Prior to the arrival of the British, Bangalore had been the stronghold of several Hindu dynasties including the Gangas, Cholas, Hoysalas and the Vijayanagara Empire. In the 18th century, the dominion of Bangalore passed on to Haider Ali. After a series of successive wars known as the Anglo-Mysore Wars with Haider Ali's son, Tipu Sultan, the British captured the city and all of the Kingdom of Mysore in 1799.