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.