East Prussia and Königsberg were part of the Russian Empire from 1758 to 1762. All estates and citizens of East Prussia had to swear allegiance to the Russian Crown, including Immanuel Kant, who worked at the University of Königsberg.