That was less a harem(well he did have sex with some, but not all) but a way to push for female jobs and education...https://en.wikipedia.org/wiki/Ghiyath_Shah#Attitude_to_WomenGhiyas Shah of the Malawa Sultanate apparently made his harem of 15,000 all get jobs in his government.