Q: Given a factoid/trivia type question, generate the topic of the question. The topic is the entity the question talks about.
The borders of which European country, that were set under the reign of Afonso III (1248 to 1279), are the same today?
A:
afonso iii of portugal