Jayapala was succeeded by his son Anandapala,[87] who in addition to other succeeding generations with the Shahiya dynasty took element in numerous unsuccessful strategies in opposition to the advancing Ghaznvids but were unsuccessful.There were quite a few armed forces regimes. Even if there is the thought of electing officials, the concept of dem