Great Britain lost Menorca in the Mediterranean to the French in 1756 but captured Fort Saint Louis centre of the French colonies in Senegal in 1758. More importantly, the British defeated the French in its defense of New France in 1759, with the fall of Quebec. The buffer that French North America had provided to New Spain, the Spanish Empire's most important overseas holding, was now lost. Spain had entered the war in 1761 following the Third Family Compact (15 August 1761) with France. The British Royal Navy took the French Caribbean sugar colonies of Guadeloupe in 1759 and Martinique in 1762 as well as the Spanish Empire's main port in the Caribbean, Havana in Cuba, and its main Asian port of Manila in the Philippines, both major Spanish colonial cities. British attempts at expansion into the hinterlands of Cuba and the Philippines met with stiff resistance. In the Philippines, the British were confined to Manila until their agreed upon withdrawal at the war's end.