Given a text, write a compressed version of it in a single sentence.

By 1185 the frontier between Christianity and Islam had been drawn at the Tagus. Not until 1249 did King Afonso III (1248-1279) complete the Reconquest and secure borders for Portugal - 250 years before the Spanish could do the same.
By 1185 the frontier between Christianity and Islam was feuding. In 1249 King Afonso III finish the Reconquest and secure Portugal - 250 years before the Spanish could repeat.