After the death of Mughal emperor Aurangzeb in 1707, his three sons Bahadur Shah I, Muhammad Azam Shah and Muhammad Kam Bakhsh were involved in a war of succession. Though Azam Shah declared himself as the successor, he was defeated in a battle by Bahadur Shah. Meanwhile, Kam Bakhsh had marched to Bijapur and established his own empire. Failing to negotiate, his forces and Shah's army clashed; and subsequently Kam Bakhsh was killed the military confrontation.
Consort - Nizam Bai ( Daughter Of Raja of Amber)
Consort - Sabana Begum (Daughter of Of Persian Ruler)
Consort - Jamilat Begum ( a daughter of Sulan Nazir Mirza Of Bihar)
Khawja ( Multan,Orisha,Mathura,Badakhshan,Berar,Half Deccan,Kanthkot Fort) Consort - Najib begum(Daughter Of Wali ahd Azam shah)
Mughal emperor Aurangzeb died in 1707 after a 49-year reign without officially declaring a crown prince. He left a will advising his sons to divide the empire between themselves. At the time of Aurangzeb's death, his eldest son Bahadur Shah I was stationed at Jamrud (12 miles west of Peshawar in present-day Pakistan). His second son, Muhammad Azam Shah, was stationed at Ahmednagar in present-day India. With the distance between Jamrud and Agra being 715 miles, and between Ahmednagar and Agra being 700 miles, Khafi Khan writes that whoever would reach the capital city of Agra first would capture the Mughal throne.
After failing to negotiate to divide the kingdom, Azam Shah and Bahadur Shah were involved in an armed conflict at Jajau, near Agra (current day Uttar Pradesh, India). In the battle that followed, Azam Shah and his three sons were killed by Bahadur Shah's army on 20 June 1707. Azam Shah and other royals who died were subsequently buried in Humayun's Tomb, Delhi.
Shah's half-brother, Muhammad Kam Bakhsh, marched to Bijapur in March 1707 with his soldiers. When the news of Aurangzeb's death spread through the city, the city's monarch, King Sayyid Niyaz Khan surrendered the fort to him without a fight. Ascending the throne, Kam Bakhsh made Ahsan Khan, who served in the army as the bakshi (general of the armed forces), and made his advisor Taqarrub Khan as chief minister and gave himself the title of Padshah Kam Bakhsh-i-Dinpanah (Emperor Kam Bakhsh, Protector of Faith). He then conquered Kulbarga and Wakinkhera.