Following a treaty between France and the Poona Government in 1776, the Bombay Government decided to invade and reinstate Raghoba. They sent a force under Col. Egerton reached Khopoli and made its way through the Western Ghats at Bhor Ghat and onwards toward Karla, which was reached on 4 Jan. 1779 while under Maratha attacks. Finally the British were forced to retreat back to Wadgaon, but were soon surrounded. The British surrendered and were forced to sign the Treaty of Wadgaon on 16 Jan. 1779, a victory for the Marathas.