After Aurangzeb's death, Kam Bakhsh marched towards Bijapur in March 1707 with his soldiers. When the news of his death spread through the city, the king Sayyid Niyaz Khan surrendered the fort to him. Upon ascending the throne, he made Ahsan Khan the "bakshi" or the chief general with the post of chief minister going to Taqarrub Khan. He also gave himself the title of Padshah Kam Bakhsh-i-Dinpanah (Emperor Kam Bakhsh, Protector of Faith). He went on to conquer Gulbarga and Wakinkhera.