The Arabian Nights Entertainments is a collection of Middle Eastern and South Asian stories and folk tales compiled in Arabic during the Islamic Golden Age. The work was collected over many centuries by various authors, translators, and scholars across West, Central, and South Asia and North Africa. The tales themselves trace their roots back to ancient and medieval Arabic, Persian, Mesopotamian, Indian, Jewish, and Egyptian folklore and literature. In particular, many tales were originally folk stories from the Caliphate era, while others, especially the frame story, are most probably drawn from the Pahlavi Persian work Hazar Afsan, which in turn relied partly on Indian elements.