According to Sasanian legend, of all the Persian kings, Khosrow II was the most extravagant in his hedonism. He searched his realm to find the most beautiful girls, and it was rumored that about 3,000 of them were kept in his harem. This practice was widely condemned by the public, who abhorred of him keeping those girls in seclusion and denying them the benefit of marriage and progeny, and it was counted as the fourth of the eight crimes for which he was later tried and executed. Khosrow himself claimed that he sent his favorite wife Shirin every year to offer them a possibility of leaving his harem with a dowry for marriage, but that their luxurious lifestyle always prompted them to refuse his offer.