Like the osiedle and sołectwo, a dzielnica is an auxiliary unit (jednostka pomocnicza) of a gmina.These units are created by decision of the gmina council, and do not have legal personality in their own right.Warsaw has 18 dzielnice, as does Kraków; Gdańsk has 34, Gdynia 22, Lublin 27, Katowice 22 and Szczecin 4.The word dzielnica is also used informally in Polish to refer to any distinct part of a town or city.Historically it can also refer to a region of the country, in particular any of the five principalities into which Poland was divided following the death of Bolesław III Wrymouth in 1138; see Testament of Bolesław III Wrymouth.