establishing the conditions for the construction of Sine's Castle, already protected by elements of the Visigothic wall. The castle in Sines was constructed during the first half of the 15th century. Like Setúbal, but contrary to what happened in Santiago do Cacém or Palmela, the castle was constructed to defend the wealth of the local merchants, indicating a new economic and social order, with the ascension of the bourgeoisie. Monarchy During the Portuguese Interregnum and 1383–1385 Crisis, the bourgeoisie and nobles of Sines were one of the municipalities that supported the Master of the Order of Aviz, the later King John I of Portugal in his battle for the throne. In 1395, aggravated by the fact the castle was not completed, King John appropriated men to serve in the military campaigns along the frontier. But, much of the concern during this period was from attacks by pirates, and compulsory military service was seen as bulwark against the region's collapse. In 1511, Sines was attacked by a large band of pirates. The King, who was careful to indemnity the losses, established a small base of three ships in Sines and Sesimbra to combat these French privateers. By the end of the 16th century, as threats from the coast increased, so too were the fortifications along the coast. This included the establishment of a fort alongside the Chapel of Senhora das Salas (Fort of Revelim), and two forts on the island of Pessegueiro. In 1629, as the construction of the Revelim Fort proceeded, Turkish pirates attacked and sank a nau in the port of Sines. A Sesimbrense captain, though, was successful in capturing a pirate ship in the bay by 1648. At the end of the 16th century, commanded by Filippo Terzi, in the service of Philip II of Portugal, it was thought that the construction of a new port on Pessegueiro would motivate growth. Problems during construction, and frequent raids by English privateers, caused the project to be abandoned: the remnants on Pessegueiro include great blocks of rock that were quarried to make way for the project. In the last decade of the 18th century, the natural anchorage seduced Jacinto Fernandes Bandeira, a merchant, to found Porto Covo, with the hope that his initiative would convince others to establish complementary businesses and a grand port. In the second half of the 19th century, pyrite from Pias and Moinho dos Paneiros (Sines)