 In time the Comuni emerged, as towns thrived in commerce.Soon Milan became the most powerful city of the central plain of Lombardy proper, and despite being razed in 1162, it was a Milan-driven Lombard League with Papal benediction that defeated emperor Frederick Barbarossa at the Battle of Legnano in 1176.Between the 10th and 13th centuries, concurrent with the Medieval Warm Period climate phase, the European population grew substantially, almost tripling (in Northern and Central Italy, the urban population doubled), and increasing the demand for cultivated lands.