Alp-Tegin died a few months later (September 963) and was succeeded by his son Abu Ishaq Ibrahim, who briefly lost control of Ghazni after an invasion by its former ruler, Abu Bakr Lawik. However, he managed to regain it with Samanid aid. Some time later, Abu Ishaq Ibrahim died and was succeeded by a Turkic slave commander named Bilgetegin.