Medieval period, 987-1515