By the end of the 14th century, the country had split into 17 principalities: Wrocław, Brzeg, Głogów, Jawor, Legnica, Ziębice, Oleśnica, Świdnica and Ścinawa in Lower Silesia; Bytom, Niemodlin, Koźle, Nysa, Opole, Racibórz, Strzelce Opolskie and Cieszyn in the Upper Silesia. The petty rulers of these sections focused on internecine quarrels and proved quite incompetent to check the lawlessness of their vassals. The country fell into a state of growing anarchy. Exceptions were some dukes of Lower Silesia, such as Henry I and Bolko I, and the above-named Henry II and IV, who succeeded in reuniting most of the nearby principalities.