In 1781, Haidar formed a coalition with the Marathas and Nizam and defeated the British under Colonel Baillie.