Poland would be briefly resurrected—if in a smaller frame—in 1807, when Napoleon set up the Duchy of Warsaw. After his defeat and the implementation of the Congress of Vienna treaty in 1815, the Russian-dominated Congress Kingdom of Poland was created in its place. After the Congress, Russia gained a larger share of Poland (with Warsaw) and, after crushing an insurrection in 1831, the Congress Kingdom's autonomy was abolished and Poles faced confiscation of property, deportation, forced military service, and the closure of their own universities. After the uprising of 1863, Russification of Polish secondary schools was imposed and the literacy rate dropped dramatically. In the Austrian sector which now was called Galicia, Poles fared better and were allowed to have representation in Parliament and to form their own universities, and Kraków with Lemberg (Lwów/Lviv) became centers of Polish culture and education. Meanwhile, Prussia Germanized the entire school system of its Polish subjects, and had no more respect for Polish culture and institutions than the Russian Empire. In 1915 a client state of the German Empire and Austria-Hungary was proposed and accepted by the Central Powers of World War I: the Regency Kingdom of Poland. After the end of World War I, the Central Powers' surrender to the Western Allies, the chaos of the Russian Revolution and the Treaty of Versailles finally allowed and helped the restoration of Poland's full independence after 123 years.