 Several former slaves rose to high ranks in the military and administration, the most prominent of which was Malik Ambar.Thousands of Europeans took up service at the courts of rulers all over India.These mercenaries for the most part came from the margins of their respective societies.