In 1724 St. Petersburg Academy of Sciences was established in the city. After the death of Peter the Great, Menshikov was arrested and exiled to Siberia. In 1728 Peter II of Russia moved the capital back to Moscow, but 4 years later, in 1732, St. Petersburg again became the capital of Russia and remained the seat of the government for about two centuries.