 The Marathas now marched to Etawah, but as the orders had not yet reached him Sheikh Kuber gave them battle.Several desperate assaults were made on the fort of Etawah which were all beaten off, but finally it was handed over to the Marathas in accordance with hafiz Rahmat Khan's orders, and the Rohillas quit the district, leaving it once more in the hands of the Marathas.Later in the same year, 1771, the Marathas advanced to Delhi and reinstated the emperor Shah Alam, who had cast in his lot with them, on the throne.