Poczta Polska, the Polish postal service, was founded in 1558 and postal markings were first introduced in 1764. The three partitions of Poland in 1772, 1793 and 1795 saw the independent nation of Poland disappear. The postal services in the areas occupied by Germany and Austria were absorbed into those countries' postal services. In 1772 the area occupied by Austria was created into the Kingdom of Galicia, a part of the Austrian Empire. This lasted till 1918. The Duchy of Warsaw was created briefly, between 1807 and 1813, by Napoleon I of France, from Polish lands ceded by the Kingdom of Prussia under the terms of the Treaties of Tilsit. In 1815, following Napoleons' defeat in 1813, the Congress of Vienna, created Congress Poland out of the Duchy of Warsaw and also established the Free City of Kraków. Congress Poland was placed under the control of Russia and the postal service was given autonomy in 1815. In 1851 the postal service was put under the control of the Russian post office department regional office in St Petersburg. In 1855 control was restored for a while to the Congress Kingdom but following the uprising in 1863 again came under Russian control from 1866 and continued until World War I. In November 1918 the Second Polish Republic was created.