Spain wanted to retrieve the islands of Menorca and Gibraltar from the British as it had been a long term goal of theirs even after their ruler died.
This ended with a British lost.
Hope this helps!
9.5m questions
12.2m answers