Prithviraj's younger brother Hariraja dethroned Govindaraja, and recaptured a part of his ancestral kingdom, but was later defeated by the Ghurid general Qutb al-Din Aibak.[9] The Ghurids subsequently defeated another powerful king - Jayachandra of Gahadavala dynasty - at the Battle of Chandawar, and conquered parts of northern India as far as Bengal.[4]