In 1704, Marines were part of a combined English-Dutch force under Prince George of Hesse-Darmstadt that captured Gibraltar and defended it successfully shortly afterwards. The cooperation with the British was repeated once again during the Bombardment of Algiers in 1816.