The initial fortress was erected in 1331, after the Florentine Republic had defeated the forces of Castruccio Castracani, and reconsolidated their power over Pistoia.
In 1531, under the designs of Nanni Unghero, the fortress was enlarged, but subsequently during the rule of the Grand Duke Cosimo I de' Medici the fortress was further enhanced, initially by Giovanni Battista Belluci, and subsequently by construction of a perimeter wall under the design of Bernardo Buontalenti.
Unghero's fortress had been a simple moated quadrilateral, but Buontalenti linked the structure to the city wall.
The fortress was only besieged in 1643, when the armies of the Pope Urban VIII Barberini unsuccessfully attacked the city.
In the late 18th-century, Grand Duke Pietro Leopoldo I, relieved the fortress of its role in the city defences, changing the main functions to work as barracks.