The Vistula River flows south to north in a broad easterly loop that extends from the Carpathian Mountains to its mouth on the Baltic Sea near Gdańsk (Danzig). Many were invited in by German and Polish nobility but most settled in cities and large towns which were often governed under a form known as German town law.