Based on the information present in the given passage, you need to write a correct answer to the given question. A correct answer is one that correctly and completely answers the question. Do not write answers that address the question partially or incorrectly. The correct answer must be contained in the given paragraph.
Example: Paragraph- Sent 1: Obama was born on August 4, 1961, at Kapiʻolani Maternity & Gynecological Hospital in Honolulu, Hawaii.
Sent 2: He is the only President to have been born in Hawaii.
Sent 3: He was born to a white mother and a black father.
Sent 4: His mother, Ann Dunham (1942-1995), was born in Wichita, Kansas, of mostly English descent, with some German, Irish, Scottish, Swiss, and Welsh ancestry. Question: How old was Obama's mother when he was born?
Example solution: 19.
Example explanation: Obama was born in 1961. His mother was born in 1942 and 1961-1942=19. Therefore, any of the following responses are considred correct: '19' and 'almost twenty'.

Problem: Paragraph- Sent 1: Though prehistoric remains from the Paleolithic, Neolithic, and Bronze Ages have been unearthed in the Manzanares Valley, prior to Madrid's sudden elevation to capital city in 1561 its history was rather undistinguished.
Sent 2: Over a period of many centuries crucial in Spanish history, Madrid's significance was negligible.
Sent 3: The Romans built their most advanced outpost on the Iberian peninsula, but left nothing of consequence in Madrid.
Sent 4: Armies of North African nomads, intent on disseminating Islam, invaded the peninsula in a.d.
Sent 5: Within 10 years, they had overrun most of Spain.
Sent 6: If Madrid played any role in these pivotal events, no record of it remains.
Sent 7: The first solid references to this obscure settlement on the Castilian plateau, guarded by the looming Guadarrama mountain range, appear in the 9th century.
Sent 8: The Arabic name for "place of many springs," variously recorded as Magerit, Mayrit or Magrit, eventually evolved into Madrid.
Sent 9: The hamlet entered historical chronicles for its military significance; it was located near the main line of resistance to the Christian reconquest.
Sent 10: Over centuries of struggle, the defending Moorish army built a full-scale fort, or Alcázar, on the heights of Madrid commanding the Manzanares valley.
Sent 11: After several unsuccessful skirmishes, the Christian forces of Alfonso VI captured Madrid in 1083.
Sent 12: The Alcázar became a fort of the crown of Castile.
Sent 13: During a counter-offensive in 1109, the town was overrun by the Moors, but the Christianized fortress held.
Sent 14: The Moors were expelled from the town, but they remained in control of southern Spain for almost four centuries.
Sent 15: Meanwhile, Madrid enjoyed brief prominence in 1308 when king Ferdinand IV and his Cortes, an early version of parliament, held a formal meeting in the fledgling town.
Sent 16: From then on, the kings of Spain began to visit Madrid, where the air was invigorating and the hunting excellent.
Sent 17: Ferdinand and Isabella, the Catholic monarchs that united all the provinces of Spain, first visited Madrid in 1477. 
Question: Why did kings of Spain visit Madrid?.

Solution: Good hunting.