 The earliest form of it is found in the Sanskrit "Śukasaptati" ("The Parrot's Seventy Tales"), which was compiled in the 6th century AD.A later version from the 11th century is found in "Disciplina Clericalis", which was written in Latin by Petrus Alphonsi, a Jewish convert to Christianity.The tale was very popular and appears in many vernacular languages of the era.