Written between 1282-1285, Gesta Hungarorum is an ingenious and imaginative historical fiction of prehistory, medieval history and contemporary social history. The author divides Hungarian history into two periods: Hunnish-Hungarian prehistory and Hungarian history, a division which persisted in Hungary up to the beginnings of modern historiography.