In the Middle Ages, the area was part of the territory of the Vistulans tribe, one of the Polish tribes.
In medieval times, the land was part of the Vistulans' domain, which was governed by one of the Polish groups.