According to the "Mahavamsa", Ashoka's chief queen was Asandhimitta, who died four years before him. It states that she was born as Ashoka's queen because in a previous life, she directed a pratyekabuddha to a honey merchant (who was later reborn as Ashoka). Some later texts also state that she additionally gave the pratyekabuddha a piece of cloth made by her. These texts include the "Dasavatthuppakarana", the so-called Cambodian or Extended "Mahavamsa" (possibly from 9th–10th centuries), and the "Trai Bhumi Katha" (15th century). These texts narrate another story: one day, Ashoka mocked Asandhamitta was enjoying a tasty piece of sugarcane without having earned it through her karma. Asandhamitta replied that all her enjoyments resulted from merit resulting from her own karma. Ashoka then challenged her to prove this by procuring 60,000 robes as an offering for monks. At night, the guardian gods informed her about her past gift to the pratyekabuddha, and next day, she was able to miraculously procure the 60,000 robes. An impressed Ashoka makes her his favourite queen, and even offers to make her a sovereign ruler. Asandhamitta refuses the offer, but still invokes the jealousy of Ashoka's 16,000 other wives. Ashoka proves her superiority by having 16,000 identical cakes baked with his royal seal hidden in only one of them. Each wife is asked to choose a cake, and only Asandhamitta gets the one with the royal seal. The "Trai Bhumi Katha" claims that it was Asandhamitta who encouraged her husband to become a Buddhist, and to construct 84,000 stupas and 84,000 viharas.