The castle secured the route from Greater Poland to Łęczyca, in the lowlands of the River Warta.
Archaeological finds indicate that the first defensive structures were built before the reign of Casimir III the Great; the tower - a donjon was built on a stone foundation, surrounded by a wooden and soil embankment which may have been built under the order of Bolesław the Pious (according to M. Żemigała), Henryk Głogowczyk, Wenceslaus II of Bohemia (according to T. Poklewski-Kozieło).
Casimir III the Great received the legation of the Lizard Union in the castle.
After the Battle of Grunwald important decisions regarding the Polish–Lithuanian–Teutonic War were thought of in the castle.
[4] During archaeological studies in the 1970s the archaeologists discovered an unknown foundation, which allowed for the full reconstruction of the castle.