Fourth Anglo-Mysore War
The Carnatic kingdom was annexed by the British in July 1801 as a consequence of the discovery of collusion between Tipu Sultan—an enemy of the British—and Umdat Ul-Umra, son of Wallajah and the Nawab at the time, during the Fourth Anglo-Mysore War. Trichinopoly was incorporated into the Madras Presidency the same year, and the district of Trichinopoly was formed, with the city of Trichinopoly (or Tiruchirappalli) as its capital.