Introduction
In Montbui, the effects of the war were felt until the very end, with more than 200 local men and boys forced to work on the fortifications. The Fort del Pi, originally a simple watchtower, found a second life as tower number 9 on the Barcelona-Madrid optical telegraph line between 1840 and 1862. This system enabled rapid communication between the two cities, which was crucial for military coordination and national security.
However, the fort gained military importance during the War of the Matiners, an exclusively Catalan Carlist uprising, and later during the Third Carlist War, which broke out in 1872 and lasted until 1876.
In July 1873, the Carlists attacked Igualada, and the Fort del Pi became the last refuge for some of the town's defenders. The construction of fortifications such as the Fort de Sant Magí (in Òdena) and the Fort del Pi was a response to the need to secure the main entrances to Igualada. In this context, the torre del Pi was equipped with artillery and a small volunteer force, forming part of a strategic defensive line.