Conflict between the Mughal Empire and the Marathas began in the lifetime of Shivaji. In the 1660s he humiliated Mughal commanders, plundered the imperial port of Surat, was forced to terms in 1665, and escaped from detention at Agra in 1666 to rebuild his power and crown himself king in 1674. But the decisive phase opened after his death in 1680.
Aurangzeb moved his court south in the early 1680s, never to return. He intended to finish the conquest of the Deccan, and at first he succeeded. The sultanates of Bijapur and Golconda fell in 1686 and 1687, carrying the empire to its greatest territorial extent. In 1689 Mughal troops captured Shivaji's son and successor, Sambhaji, who was tortured and executed.
The Maratha state did not die with its king. Leadership passed to Sambhaji's brother Rajaram, who held out for years in the distant southern fortress of Jinji, and after 1700 to his widow Tarabai, who directed the war as regent. More important, the Marathas fought as a decentralized force. Bands of light cavalry lived off the land, cut supply lines, levied tribute deep in Mughal provinces, and avoided pitched battles. The emperor's huge, slow army, more a moving city than a strike force, besieged hill forts one by one, often buying their surrender, only to see them retaken once it moved on.
The costs were ruinous. Decades of war consumed the treasury and devastated the Deccan countryside. The system of ranked officeholders paid by land assignments (the Mansabdari System) broke down as there were too few productive lands to go around, and officers squeezed peasants or made private deals with the enemy. In the neglected north, Jats, Sikhs, and Rajputs rebelled. Aurangzeb, nearly ninety, died in the Deccan in 1707.
Within a generation the Marathas were raiding to the gates of Delhi, and the Mughal emperors had become figureheads. Imperial overextension, not European intervention, opened the eighteenth-century scramble for India.