 The British cause seemed to be at a particularly low ebb.The Spanish joined France in the war, implementing the Treaty of Aranjuez signed in April 1779.The main goals of Spain were the recovery of Gibraltar and Menorca from the British, who had owned them since 1704 and to damage British trade through the actions of privateers.