 In the north, a Lombard League of communes launched a successful effort to win autonomy from the Holy Roman Empire, defeating Emperor Frederick Barbarossa at the Battle of Legnano in 1176.In the south, the Normans occupied the Lombard and Byzantine possessions, ending the six century old presence of both powers in the peninsula.The few independent city-states were also subdued.