It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.
Britain had tried to use its naval power early in the dispute, by blockading Porto Bello in Panama but the attempt proved a disaster, in which 4,000 men were lost to disease.
British defenders were 1,500 at the beginning of the siege, increasing up to about 5,000 by troops brought from overseas by a fleet commanded by Charles Wager.
After a four-month siege, with several unsuccessful and costly attempts, Spanish troops gave up and retired on 12 June.
No more hostilities took place and a truce was declared in February 1728, with a preliminary agreement of issues at the March Convention of El Pardo and the Congress of Soissons.