The Maratha Confederacy, also referred to as the Maratha Empire or the Maratha Kingdom, was an early modern polity in the Indian subcontinent comprising the realms of the Peshwa and four major independent Maratha states who were often subordinate to the former. It was formed in 1674 with the coronation of Shivaji of the House of Bhonsle as the Chhatrapati of the Marathas. The Maratha realm was recognised by Bahadur Shah I, the Shahenshah of Hindustan as a tributary state in 1707 after a prolonged rebellion. The Marathas continued to recognise the Shahenshah as their nominal suzerain similar to other contemporary Indian entities.