In 1655, Hetman Jerzy Sebastian Lubomirski led an aristocratic rebellion against King John II Casimir Vasa, using Dobrzyca as a staging area.
His grandchild was General Augustyn Gorzeński, aide to King Stanislaus II August Poniatowski, Sejm (Polish parliament) delegate and participant in the development of the Constitution of May 3, 1791, which provided stimulation of the urban economy in 1772.
Following the successful Greater Poland uprising of 1806, it was regained by Poles and included within the short-lived Duchy of Warsaw.
Stanisław Mikołajczyk, Sejm delegate and later prime minister of the Polish government-in-exile while it was headquartered in London, was baptised in the town.
After the German occupation of Poland during the Second World War, housing cooperatives developed allowing the palace, which had become the town hall, to be converted into a museum.
Externally, it combines traditional structural elements of a Polish aristocratic seat with double wings and Freemason symbolism.
In 1940 to 1941, after the evacuation of the countess Czarnecka and her daughters, the palace was used as a grain storehouse, which contributed to the destruction of the parquet floors.