In the Lebor Gabála Érenn, a medieval Irish Christian pseudo-history, the Milesians (Irish: gairthear Mílidh Easpáinne) are the final race to settle in Ireland. They represent the Irish people. The Milesians are Gaels who sail to Ireland from Hispania after spending hundreds of years travelling the earth. When they land in Ireland they contend with the Tuatha Dé Danann, who represent the pagan gods. The two groups agree to divide Ireland between them: the Milesians take the world above, while the Tuath Dé take the world below (i.e. the Otherworld). They are named after the character Míl Espáine, which is the Irish form of the Latin Miles Hispaniae ("Soldier of Hispania"). Scholars believe that the tale is mostly an invention of medieval Christian writers.
The Lebor Gabála, which was probably first written in the 11th century AD by Christian monks, purports to be a history of Ireland and the Irish (the Gaels). It tells us that all mankind is descended from Adam through the sons of Noah, and that a man named Fénius Farsaid (descendant of Noah's son Japheth) is the forebear of the Gaels. Fénius, a prince of Scythia, is described as one of 72 chieftains who built the Tower of Babel. His son Nel weds Scota, daughter of an Egyptian pharaoh, and they have a son named Goídel Glas. Goídel crafts the Goidelic (Gaelic) language from the original 72 languages that arose after the confusion of tongues. Goídel's offspring, the Goidels (Gaels), leave Egypt at the same time as the Israelites (the Exodus) and settle in Scythia. After some time they leave Scythia and spend 440 years wandering the Earth, undergoing a series of trials and tribulations akin to those of the Israelites, who spent 40 years wandering in the wilderness. Eventually, they reach Hispania by sea and conquer it. There, Goídel's descendant Breogán founds a city called Brigantia, and builds a tower from the top of which his son Íth glimpses Ireland. Brigantia refers to Corunna in modern-day Galicia, in Spain, (which was then known as Brigantium) and Breogán's tower is likely based on the Tower of Hercules, which was built at Corunna by the Romans.