The Maratha Empire or the Maratha Confederacy was a grouping of Indian states that dominated much of the Indian subcontinent in the 17th and 18th centuries. The empire formally existed from 1674 until 1818. The Marathas are given much of the credit for ending Mughal rule in India.