The army that defeated Tipu Sultan in the 4th Mysore War was relocated from the swamps of Srirangapatana to the more temperate Bangalore in 1809. The crown's administrative staff and the army's families began arriving, after sailing around the Cape of Good Hope. Tradesmen also arrived in this manner and contributed to the westernization of Bangalore.