The siege of Bangalore was a siege of the town and fortifications of Bangalore during the Third Anglo-Mysore War by forces of the British East India Company, led by Charles, Earl Cornwallis against a Mysorean garrison, while Tipu Sultan, Mysore's ruler, harried the camps and positions of the besiegers. Arriving before the town on 5 February 1791, Cornwallis captured the town by assault on 7 February, and after six weeks of siege, stormed the fortress on 21 March.