San Pedro del Pinatar is a small town and municipality in the Region of Murcia, southeastern Spain. The municipality is situated at the northern end of Murcia's Mediterranean coastline, the Costa Cálida, and borders the province of Alicante. It has an area of almost 22 km2, and a population of 25,167 as of 2018. History San Pedro became an industrial territory whose salt mines were used by the Romans. They utilised the salt to produce an ancient Roman sauce called garum. In 711 CE, Muslim civilizations started conquering the Iberian Peninsula. A few years later they dominated a great part of it, including the current San Pedro del Pinatar. During their occupation, they built fishing structures for a specific type of fishing; in Spanish the structures are known as . In 1243, the king Muhammad Ibn Hud offered vassalage to the Crown of Castile. In April of that year, the Treaty of Alcaraz, in which the sovereignty of Castile was recognised, was signed. As a result, all the former Taifa of Murcia went under Castile's rule. The jurisdiction of the (an administrative division of that era approximately equivalent to the municipality) occupies the territory. San Pedro del Pinatar was part of the Crown of Castile but it was next to the Crown of Aragon. A border which crossed Campo de Cartagena (a region that is categorised as a comarca) and ended in San Pedro was decided in 1305. A book was written in 1340 called ; the aspect of the current municipality in the Late Middle Ages is described in that work. It was written that the territory was a dense forest mass where wild boar were hunted. San Pedro del Pinatar's population increased in the late years of the Middle Ages due to the arrival of families. The localities of the municipality were set up in the beginning of the early modern period. The salt mines were utilised by the lessees who held rights on the mines at a similar level to the Crown. The institution awarded shares to these lessees in order to regain the power on the mines. The convenient access to the coastal salty lagoon of Mar Menor allowed Berber pirates to easily disembark, destroy the region and take the loot. Typical Spanish coastal watchtowers were built along the coast. Philip II of Spain wrote a letter, in which he announced his intention to set up