Which did not occur during the middle ages?