Aurangzeb won the throne of the Mughal Empire in a war of succession. When Shah Jahan fell ill in 1657, his four sons fought for the crown; Aurangzeb, the ablest general, defeated his brothers, had the heir Dara Shikoh executed, and kept his father confined in the fort at Agra until his death. He took the title Alamgir, 'world-seizer', and reigned for forty-nine years.
Personally austere, Aurangzeb aimed to rule as a strict Sunni Muslim sovereign, a break from the inclusive style of his great-grandfather Akbar. He banned music and wine at court, sponsored a great compilation of Islamic law, appointed officials to enforce public morals, and in 1679 reimposed the Jizya on non-Muslims, which Akbar had abolished more than a century earlier. He ordered the destruction of a number of prominent Hindu temples, especially where they were associated with rebellion, and in 1675 had the ninth Sikh guru, Tegh Bahadur, executed, an act that helped turn Sikhism into a militant movement. The picture is not one of simple persecution: he also confirmed grants to some temples, and Hindus held a larger share of high ranks in the Mansabdari System under him than under any predecessor.
His overriding ambition was the conquest of the south. From 1681 he moved the court to the Deccan and never returned to the north. He annexed the sultanates of Bijapur (1686) and Golconda (1687), bringing the empire to its largest size, and captured and executed the Maratha king Sambhaji, son of Shivaji, in 1689. But the Marathas turned to guerrilla warfare, and the Maratha–Mughal Conflict dragged on for the rest of his life, draining the treasury and the army. There were more officers than revenue assignments to pay them, taxes on the peasantry rose, and revolts spread among Jats, Sikhs and Rajputs, a clear case of resistance to state expansion.
Aurangzeb died in 1707 at nearly ninety. Within a generation the provinces had become independent in practice and the Maratha Empire dominated central India, opening the way for the British East India Company.