Human: What was the outcome of the Spanish–Portuguese War? Assistant: 
The war ended in a draw. The Spanish and Portuguese fought for control of the Iberian Peninsula, but neither side was able to gain a decisive victory.