Urdubegis were the class of women assigned to protect the emperor and inhabitants of the zenana. Because the women of the Mughal court lived sequestered under purdah, the administration of their living quarters was run entirely by women. The division of the administrative tasks was dictated largely by the vision of Akbar, who organized his zenana of over 5,000 noble women and servants. The women tasked with the protection of the zenana were commonly of Habshi, Tatar, Turk and Kashmiri origin. Kashmiri women were selected because they did not observe purdah. Many of the women were purchased as slaves, and trained for their positions.