It was produced in a bilingual Greek–South Slavic milieu, probably in Macedonia under the Serbian Empire (14th century) or its successors. It has features suggestive of oral-formulaic composition. Storyline The Arab–Byzantine wars that lasted from the seventh century to the early 11th century provide the context for Byzantine heroic poetry written in Medieval Greek. The Akritai of the Byzantine Empire of this period were a military class responsible for safeguarding the frontier regions of the imperial territory from external enemies and freebooting adventurers who operated on the fringes of the empire. The work comprises two parts. In the first, the "Lay of the Emir", which bears more obviously the characteristics of epic poetry, an Arab amir invades Cappadocia and carries off the daughter of a Byzantine general. The emir agrees to convert to Christianity for the sake of the daughter and resettles in the Byzantine Empire ( Romanía, the lands of the Ρωμηοί Romioi) together with his people. The issue of their union is a son, Digenes Akritas. The second part of the work relates the development of the young hero and his superhuman feats of bravery and strength. As a boy, he goes hunting with his father and kills two bears unarmed, strangling the first to death and breaking the second one's spine. He also tears a hind in half with his bare hands, and slays a lion in the same manner. Like his father, he carries off the daughter of another Byzantine general and then marries her; he kills a dragon; he takes on the so-called apelátai (), a group of bandits, and then defeats their three leaders in single combat. No one, not even the amazingly strong female warrior Maximu, with whom he commits the sin of adultery, can match him. Having defeated all his enemies Digenes builds a luxurious palace by the Euphrates, where he ends his days peacefully. Cypriot legend has it that he grabbed hold of the Pentadaktylos ("Five Fingers") mountain range north of Nicosia in order to leap to Anatolia. The mountain range, as the name suggests, resembles five knuckles sprouting from the ground. The tale of Digenes continued to be read and enjoyed in later centuries, as the text survives in various versions dating to as late as the 17th century. The epic tale of Digenes Akritas corresponds in many ways to a cycle of much shorter Acritic songs, particularly from Anatolia,