The Kashmiri poet Bilhana also appears to allude to this incident. He stayed at Karna's court for sometime, and composed the poetic drama "Karna-Sundari", which presents Karna as a hero. According to this work, Karna dreamt of the princess (called Karnasundari, or "Karna's beautiful woman"), and decided to marry her. His jealous queen attempted to get him married to a boy disguised in Karnasundari's dress. However, Karna's clever minister foiled her plan by replacing the boy with the real Karnasundari. Although Bilhana was a contemporary of Karna, his account is the least accurate one, because it is intended to be a drama. Nevertheless, his account is helpful in estimating the date of this marriage. Bilhana probably left Karna's court somewhere between 1072 and 1078 CE. Assuming that Karnasundari is same as Mayanalla, Karna's marriage to her would have taken place sometime before this.