Shortly after the Decembrist revolt of 1825, royalist Georgians in St. Petersburg and Moscow, urged on by the grandsons of the penultimate king of Georgia Erekle II, the princes Okropir and Dimitri, tried to convince Georgian students in the two Russian cities that Georgia should be independent under the Bagrationi dynasty. Okropir visited Tiflis in 1829 and helped found a secret society with the aim of restoring the Georgian monarchy. Inspired by the French revolution of 1830 and the Polish insurrection of 1830-1831, the conspirators were united in their anti-Russian sentiment but divided in their program although the majority favored a restoration of the Bagrationi to the Georgian throne. The planned coup was prevented by the police in 1832.