Task: Text Categorization
Input (English): Troops from this city lost the Battle of Montaperti because of the treachery of Bocca degli Abati. This city expanded during the Primo Popolo, and in 1378, it saw a revolt of lower-class woolworkers known as the Ciompi. This city briefly became a republic after the disastrous rule of Pietro the Unlucky, and in 1497, the Bonfire of the Vanities occurred in this city under Savonarola. For 10 points, name this capital of Tuscany, an Italian city once ruled by Cosimo and Lorenzo de Medici.
Output (English): History