With whom were the female slaves given along with the princesses married?

Be it any king or emperor of India or the world, he used to have a large number of male and female slaves. The day-to-day routine work of the state was carried out by these slaves, whenever a king attacked…