In 1821 the government of the kingdom bought off the city and modernized the Zamość fortress.
1821 ostis valitsus linna ära ja kaasajastas kindluse.