In 1177 , Pistoia chose to become a free commune . In the following years , it became an important political center .
Pistoia 's most splendid age began in 1177 when it proclaimed itself a free commune : in the following years it became an important political center , erecting walls and several public and religious buildings .