text: The commune of Arezzo threw off the control of its bishop in 1098 and functioned as an independent city-state until 1384. Generally Ghibelline in tendency, it opposed Guelph Florence. In 1252 the city founded its university, the Studium. After the rout of the Battle of Campaldino (1289), which saw the death of Bishop , the fortunes of Ghibelline Arezzo started to ebb, apart from a brief period under the Tarlati family, chief among them Guido Tarlati, who became bishop in 1312 and maintained good relations with the Ghibelline party. The Tarlati sought support in an alliance with Forlì and its overlords, the Ordelaffi, but failed: Arezzo yielded to Florentine domination in 1384; its individual history became subsumed in that of Florence and of the Medicean Grand Duchy of Tuscany. During this period Piero della Francesca ( 1415–1492) worked in the church of San Francesco di Arezzo producing the splendid frescoes, recently restored, which are Arezzo's most famous works. Afterwards the city began an economical and cultural decay, which ensured the preservation of its medieval centre.
  In the 18th century the neighbouring marshes of the Val di Chiana, south of Arezzo, were drained and the region became less malarial. At the end of the-century French troops led by Napoleon Bonaparte conquered Arezzo, but the city soon turned (1799–1800) into a resistance base against the invaders with the "Viva Maria" movement, winning the city the role of provincial capital. In 1860 Arezzo became part of the Kingdom of Italy.
  City buildings suffered heavy damage during World War II; the Germans made a stand in front of Arezzo early in July 1944 and fierce fighting ensued before the British 6th Armoured Division, assisted by New Zealand troops of the 2nd New Zealand Division, liberated the town 16 July 1944. The Commonwealth War Graves Commission's Arezzo War Cemetery, where 1,266 men are buried, is located to the north-west of the city.
  Pope Benedict XVI visited Arezzo and two other Italian municipalities on May 13, 2012.