After the November 1830 Uprising against the occupying Russian Empire, the Society was banned by the Russian authorities; they had controlled Warsaw for most of the time since the final partition of Poland in 1795. For the following 26 years, the palace was used by the organisers of a lottery.