Guerre russo-polonaise
During the Polish–Russian War of 1792, the castle was seized by Russian forces and the Radziwiłł family was expelled. Soon afterwards the Lithuanian Archive was transferred to Saint Petersburg (where it still remains today), while the majority of works of art gathered in the palace were distributed among various Russian and Polish nobles in support of Catherine the Great. Due to the Second Partition of Poland in 1793, the castle became part of Russia.