as the middle ages, forming the earliest visions of the medieval past for much of the