qnli question: King Philip renounced his right to the throne after what treaty? sentence: Gibraltar became a critical naval base and allowed Britain to control the Atlantic entry and exit point to the Mediterranean.