The increasing richness of the city-states made them able to defy the traditional feudal supreme power, represented by the German emperors and their local vassals. This process led to the creation of different Lombard Leagues formed by allied cities of Lombardy that defeated the Hohenstaufen Emperor Frederick I, at Legnano, and his grandson Frederick II, at Parma, and becoming virtually independent from the German emperors.