Senapati
Senapati (Sanskrit: सेनापति; sena- meaning "army", -pati meaning "lord") is a title in ancient India denoting the rank of military commander or general of the army.
It was a hereditary title of nobility used in the Maratha Empire. During wartime, a Sardar Senapati or Sarsenapati (also colloquially termed Sarnaubat) functioned as the Commander-in-Chief of all Maratha forces, coordinating the commands of the various Sardars in battle.
Ranking under the heir-apparent crown prince (Yuvaraja) and other hereditary princes (Rajkumar), the title Senapati most closely resembles a British Duke or German Herzog in rank and function. On occasion, the title Mahasenapati (Sanskrit: महा maha- meaning "great") was granted; this best equates to a Grand Duke or a German Großherzog.
Unlike Sardar, Senapati is a primogeniture hereditary title that passes on to the eldest son. There are several royal Senapati families alive today, including the Ghorpade and Dabhade families.
Senapati as Surname is almost equivalent to Sardars in India . Outside of India too, this type of similar surnames are being used like "Senopati" in "Indonesia" , Walters in Germany which means Commander of the Army etc .