Question: what is the time period before the middle ages?
Answer: Classical antiquity