The attack was launched on 1 August 1704 as a combined operation between the naval force under Rooke's command and a force of Dutch and English marines under the command of Prince George of Hesse-Darmstadt and Captain Edward Whitaker of HMS "Dorsetshire". After a heavy naval bombardment on 2 August, the marines launched a pincer attack on the town, advancing south from the isthmus and north from Europa Point. Gibraltar's defenders were well stocked with food and ammunition but were heavily outnumbered and outgunned. The Spanish position was untenable and on the morning of 4 August, the governor, Diego de Salinas, agreed to surrender.