During the Polish–Teutonic War of 1326–1332, the forces of the Order's State occupied Dobrzyń Land, which however was relinquished to the Kingdom of Poland in the 1343 Treaty of Kalisz. The Knights temporarily regained control in the Polish–Lithuanian–Teutonic War of 1409–1411, but after their defeat at the Battle of Grunwald had to return it again according to the Peace of Thorn. It was incorporated into the Inowrocław Voivodeship of the Polish Crown and the Polish–Lithuanian Commonwealth. Nevertheless, it has been still in the Mazovian Diocese of Płock (and not in the Greater Polish Diocese of Włocławek).