Harems were composed of wives, female relatives, concubines, and male infants. In Cairo, transactions involving eunuchs and concubines happened in private houses. The royal house consists of the Emperor, Empress, concubines, princes and princesses. Sometimes men who took slaves as wives or concubines freed both them and their children. Bahadur Shah Zafar had four wives and numerous concubines. Charlemagne had eighteen children with eight of his ten known wives or concubines. The Dutch women who were taken as slave concubines and wives were never freed. Usually the pirates made their most beautiful captives their concubines or wives. Joseon monarchs had a harem which contained concubines of different ranks. Men can have several concubines and wives. Marriage was defined loosely and encompassed wives, concubines, and slaves. Bou Ahmed resided here with his four wives, 24 concubines and many children. Rehoboam had 18 wives and 60 concubines. Each camp also contained junior wives, concubines, and even children. Empress Myeongseong managed to have sons, preventing sons of concubines getting power.