On the following day, in the above-mentioned manner that magician
came. In that way doing magic, he asked for that necklace as a
present. The Princess did just as that youth said. At that time a
grain burst. Thereupon the magician, having become a cock, ate the
grains [of corn which came out of it]. Then the Princess having come,
remained treading on one with the foot. The cock having eaten the
grains, when they were becoming finished the Princess raised the
foot. At that time the grain seed that was under the foot having
become a jackal, caught and ate that cock.
After that, the King, ascertaining that the youth was cleverer than
that magician, having married and given to him the King's Princess,
gave him the sovereignty also. After that, causing to be brought
there the youth's mother and his elder brother also who stayed near
the teacher, he remained exercising the kingship in a good manner.
Immigrant from Malayalam, Southern India. (Written in
Sinhalese, and partly related in that language.)