Original: It ended with the death of Emperor Aurangzeb in 1707, although the Empire continued for another 150 years.
Simplified: It continued until 1857.