sentence: the most historic achievement of these marines was the capture of the mole during the assault on gibraltar ( sailors of the royal navy captured the rock itself ) and the subsequent defense of the fortress alongside the dutch marines in 1704 .