You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
Virgil

Context:
In the Middle Ages, Virgil's reputation was such that it inspired legends associating him with magic and prophecy. From at least the 3rd century, Christian thinkers interpreted Eclogues 4, which describes the birth of a boy ushering in a golden age, as a prediction of Jesus' birth. As such, Virgil came to be seen on a similar level as the Hebrew prophets of the Bible as one who had heralded Christianity.

Question:
During which time period did Virgil's reputation inspire legends associating him with magic and prophecy?

Middle Ages