Complex sentence: They had the greater development in central-northern Italy, where they were real city-states based on partial democracy, while in Germany they became free cities, independent from local nobility.
Split into simpler sentences: They had the greater development in central-northern Italy, where they became city-states based on partial democracy. At the same time in Germany they became free cities, independent from local nobility.