Pistoria (in Latin other possible spellings are Pistorium or Pistoriae) was centre of Gallic, Ligurian and Etruscan settlements before becoming a Roman colony in the 6th century BC, along the important road Via Cassia: in 62 BC the demagogue Catiline and his fellow conspirators were slain nearby. From the 5th century the city was a bishopric, and during the Lombardic kingdom it was a royal city and had several privileges. Pistoia's most splendid age began in 1177 when it proclaimed itself a free commune: in the following years it became an important political centre, erecting walls and several public and religious buildings.
In 1254 the Ghibelline Pistoia was taken over by Guelph Florence, but supposedly resulted in the division of the Guelphs into "Black" and "White" factions. Pistoia remained a Florentine holding except for a brief period in the 14th century, when Castruccio Castracani captured it for Lucca, and was officially annexed to Florence in 1530. During the 14th century Ormanno Tedici was one of the Lords of the city.
In 1786 a famous Jansenist episcopal synod was convened in Pistoia.
Dante mentioned in his Divina Commedia the free town of Pistoia as the home town of Vanni Fucci, who is encountered in Inferno tangled up in a knot of snakes while cursing God, and Michelangelo called the Pistoiesi the "enemies of heaven".
According to one theory, Pistoia lent its name to the pistol, which it started manufacturing in the 16th century. But today it is also notable for the extensive garden nurseries spreading around it. Consequently, Pistoia is also famous for its flower markets, as is the nearby Pescia