respect civilians, officers tried to maintain control but discipline broke down and the men ran amok. After order was restored, despite the surrender agreement promising property and religious rights, most of the population left with the garrison on 7 August citing loyalty to Philip. Several factors influenced the decision including the expectation of a counter attack and the violence during the capture, which ultimately proved disastrous for the Hapsburg cause. The subsequent siege failed to dislodge the Hapsburg forces and the refugees settled around Algeciras and the hermitage of San Roque. In 1711, the British and French Governments started secret negotiations to end the war leading to the cession of Gibraltar to the British by the Treaty of Utrecht in 1713. The municipality of San Roque still has as its motto "La Muy Noble y Más Leal Ciudad de San Roque, donde reside la de Gibraltar " ("the Most Noble and Most Loyal City of San Roque, where reside those [the people] of Gibraltar"). The town lands included the area of the modern La Línea de la Concepción. King Felipe V, the name by which Philip of Anjou was crowned, ordered the Marquis de Villadarías to besiege the Plaza de Gibraltar. This first attempt to regain the city was unsuccessful and the Spanish army lifted the siege. However, to monitor the isthmus and to oppose a possible invasion of the rest of the territory, a permanent garrison was established in the area, under the military government of Campo de Gibraltar. The Contravallation Line or La Línea de Gibraltar Gibraltar was under constant surveillance and subjected to the unsuccessful Siege of Gibraltar 1727 and the Great Siege of Gibraltar 1779-1783. After the 1727 siege, the Spanish government began the construction of a line of fortifications, the "Contravallation Line" or "La Línea de Gibraltar" thus eventually giving rise to the town La Línea De La Concepción. This would isolate the British outpost from the Spanish mainland. An order was issued on 2 November 1730 to the Director of Engineering Prospero Jorge de Verboom, for the construction of two strongholds, one located to the east and the other at west of the isthmus, both united by a line of fortification, with the aim of preventing the movement and to assert rights over the isthmus, in addition to consolidate the Spanish presence in the area. Construction began in 1731 on the two major strongholds,