Complex sentence: To the north there were often conflicts with the Principality of Hungary, Croatia managed to keep its borders and to some extent expand on the disintegrated Duchy of Pannonia.
Split into simpler sentences: To the north there were often conflicts with the Principality of Hungary. Croatia kept its borders and to some extent expanded on the disintegrated Duchy of Pannonia.