The harem of the monarchs of the Qajar dynasty (1785-1925) consisted of several thousand people. The harem had a precise internal administration, based on the women's rank.