The Dutch were the first Europeans to settle modern-day Guyana. The Netherlands had obtained independence from Spain in the late 16th century and by the early 17th century had emerged as a major commercial power, trading with the fledgling English and French colonies in the Lesser Antilles. In 1616 the Dutch established the first European settlement in the area of Guyana, a trading post-twenty-five kilometers upstream from the mouth of the Essequibo River. Other settlements followed, usually a few kilometers inland on the larger rivers. The initial purpose of the Dutch settlements was trade with the indigenous people. The Dutch aim soon changed to the acquisition of territory as other European powers gained colonies elsewhere in the Caribbean. Although Guyana was claimed by the Spanish, who sent periodic patrols through the region, the Dutch gained control over the region early in the 17th century. Dutch sovereignty was officially recognized with the signing of the Treaty of Munster in 1648.