through the Tranvancore lines and the Maharajah of Travancore appealed to the East India Company for help. In response, Lord Cornwallis mobilised company and British military forces, and formed alliances with the Marathas and the Nizam of Hyderabad to oppose Tipu. In 1790 the company forces advanced, taking control of much of the Coimbatore district. Tipu counter-attacked, regaining much of the territory, although the British continued to hold Coimbatore itself. He then descended into the Carnatic, eventually reaching Pondicherry, where he attempted without success to draw the French into the conflict. In 1791 his opponents advanced on all fronts, with the main British force under Cornwallis taking Bangalore and threatening Srirangapatna. Tipu harassed the British supply and communication and embarked on a "scorched earth" policy of denying local resources to the British. In this last effort he was successful, as the lack of provisions forced Cornwallis to withdraw to Bangalore rather than attempt a siege of Srirangapatna. Following the withdrawal, Tipu sent forces to Coimbatore, which they retook after a lengthy siege. The 1792 campaign was a failure for Tipu. The allied army was well-supplied, and Tipu was unable to prevent the junction of forces from Bangalore and Bombay before Srirangapatna. After about two weeks of siege, Tipu opened negotiations for terms of surrender. In the ensuing treaty, he was forced to cede half his territories to the allies, and deliver two of his sons as hostages until he paid in full three crores and thirty lakhs rupees fixed as war indemnity to the British for the campaign against him. He paid the amount in two instalments and got back his sons from Madras. Napoleon's attempt at a junction In 1794, with the support of French Republican officers, Tipu allegedly helped found the Jacobin Club of Mysore for 'framing laws comfortable with the laws of the Republic'. He planted a Liberty Tree and declared himself Citizen Tipoo. In a 2005 paper, historian Jean Boutier argued that the club's existence, and Tipu's involvement in it, was fabricated by the East India Company in order to justify British military intervention against Tipu. One of the motivations of Napoleon's invasion of Egypt was to establish a junction with India against the British. Bonaparte wished to establish a French presence in the Middle East, with the ultimate dream of linking with Tippoo Sahib. Napoleon assured the French Directory that "as soon as he had