Task: Text Categorization
Input (English): One leader of this group reasserted power after Charles of Valois dissolved the government of the Cherchi, and they fought a war against Ezzelino III at the battle of Cassano d'Adda with the help of Ezzelino's brother in law Manfred I. They were massacred in a battle during which they were betrayed by Bocca degli Abati, and they are named for the Bavarian Dukes who opposed the rise of the Hohenstaufens. Dante Alighieri was a member of the white party of this group, which held power in cities such as Genoa and Mantua. For 10 points, identify this faction that allied with the papacy and opposed the Ghibellines.
Output (English): History