Until 1384, Arezzo was an independent city-state, generally Ghibelline in tendency, thus opposing Guelph Florence. In 1252 the city founded its university, the "Studium". Arezzo in 1384 was under Florentine domination. During this period Piero della Francesca worked in the church of San Francesco di Arezzo producing the splendid frescoes.