Although Spain ultimately made important contributions to American success, in the Treaty of Aranjuez (1779), Charles agreed only to support France's war with Britain outside America, in return for help in recovering Gibraltar, Menorca and Spanish Florida. The terms were confidential since several conflicted with American aims; for example, the French claimed exclusive control of the Newfoundland cod fisheries, a non-negotiable for colonies like Massachusetts. One less well-known impact of this agreement was the abiding American distrust of 'foreign entanglements'; the US would not sign another treaty until the NATO agreement in 1949. This was because the US had agreed not to make peace without France, while Aranjuez committed France to keep fighting until Spain recovered Gibraltar, effectively making it a condition of US independence without the knowledge of Congress.