Gibraltar fell into the hands of the English in 1704, during the War of the Spanish Succession —the war in which Marlborough gained so much glory for the English arms. Admiral Sir George Rooke had been sent to the Mediterranean, to watch the French and Spanish fleets. For a long time he was unable to accomplish anything of importance; but, learning that Gibraltar was very poorly garrisoned, he suddenly attacked and captured it, and hoisted the English flag on its Signal Station.
That flag is the only one that has ever floated there since the 23rd of July 1704. Time after time have the Spaniards tried to recover this "key of the Mediterranean;" but every effort has been repulsed most gallantly, and often with tremendous loss to the enemy.
The last attempt they made was the most gigantic and determined of all; and its successful resistance by the English garrison forms one of the most heroic incidents in the annals of modern warfare. It occurred during the struggle which severed from England her North American colonies. France recognized the United States as an independent power in 1778, and a war with England was the consequence. In the following year Spain joined France, and Gibraltar was immediately blockaded.