In the end it was his urbane French soldier of fortune, Jean-Baptiste Gentil, who negotiated his surrender that July. Gentil pointed out to the Company that, under British protection, a defeated Shuja could be reinstalled to provide a useful buffer state between the rich lands of Bengal and the lawless anarchy of the contested lands around Delhi, which continued to pass, chaotically and bloodily, between rival Afghan and Maratha armies.