While residing in the Tavatimsa Heaven, the Buddha was asked for help by a Devaputta named Supatitthita. Supatitthita who learned from his friend that he would die within 7 days and be admitted to hell and then become various kinds of animals and be disabled, for 500 incarnations for each kind. The Buddha gave him a sermon describing his bad Karma (bad deeds) from his previous lives. In order to ensure that he would be in heaven for a long time, the Buddha advised him to learn and recite a special spell named Unhassavijaya and because of its power, Supatithita has not left heaven until the present.
Colophon:
Folio 8 on the recto side: In BE 2482, a kat mao year, on the third waxing day of the fourth [lunar] month, the second day of the week (Monday), the writing of [this manuscript] was finished in the morning at 11.00 o’clock. Sao (Mrs.) Thi had the ardent religious faith to sponsor the making of [this manuscript entitled] Unhatsavisai to support the Teachings of Gotama Buddha to last until the end of 5000 years. It is dedicated to Ba (young boy) Noi who already died. May [the merits derived from making this manuscript entitled] Unhatsavisai to support him and move him to a good place. Even if he has already been put in a good place, please let him enjoy happiness numerous times more than previously, definitely. Sādhu sādhu anumodāmi (Amen! Amen! I rejoice).