Other city states in northern Italy also expanded their territories and consolidated their power, primarily Milan and Venice.