The Peshwa was the appointed (and later hereditary) Prime Minister of the Maratha Empire of the Indian subcontinent. Originally, the Peshwas served as subordinates to the Chhatrapati (the Maratha king); later, under the Bhat family, they became the "de facto" leaders of the Maratha Confederacy with the Chhatrapati becoming a nominal ruler. During the last years of the Maratha Empire, the Peshwas themselves were reduced to titular leaders, and remained under the authority of the Maratha nobles and the British East India Company.