From the seventh to the sixteenth century