 To keep permanent check on Idar, Ahmad Shah established town of Ahmadnagar (now Himatnagar), on the banks of the Hathmati river, eighteen miles south-west of Idar in 1426 and completed its fort in 1427.Rao Punja left in hiding but kept attacking soldiers and supplies of Sultanate.In 1428, Rao Punja died in ambush with soldiers.