KingJaipal wasa ruler of Hindushahi Dynasty. He and his son Anandpal defied Muhammad Ghazni and were defeated.