 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.In 1857–62 the palace was the seat of the Academy of Medical science, the first institution of higher learning re-established in the Russian partition (all institutions of higher learning having been banned following the 1830 Uprising); but the Academy was soon closed after yet another failed insurrection, the 1863-4 "January Uprising".