Warsaw was made the capital of a newly created French client state, known as the Duchy of Warsaw, after a portion of Poland's territory was liberated from Prussia, Russia and Austria by Napoleon in 1806. Following Napoleon's defeat and exile, the 1815 Congress of Vienna assigned Warsaw to Congress Poland, a constitutional monarchy within the easternmost sector (or partition) under a personal union with Imperial Russia. The Royal University of Warsaw was established in 1816.