When did the British conquer Gibraltar?

History Trivia Question: When did the British conquer Gibraltar?