In the 12th and 13th centuries the area east of the Łeba river was on the western periphery of the Pomerelian duchies, ruled by the Samborides dynasty as vassals of the Polish Crown as distinct to the neighbouring Duchy of Pomerania, which in 1181 had become an Imperial State.