Minsk, is both the capital and the largest city of the Republic of Belarus, on the Svislach and the Nyamiha Rivers. It is the administrative capital of the Commonwealth of Independent States. As the national capital, Minsk has a special administrative status in Belarus and is the administrative centre of Minsk Region and Minsk raion. In 2013, it had a population of 2,002,600. The earliest historical references to Minsk date to the 11th century, when it was noted as a provincial city within the Principality of Polotsk. The settlement developed on the rivers. In 1242, Minsk became part of the Grand Duchy of Lithuania. It received town privileges in 1499. From 1569, it was a capital of the Minsk Voivodeship, in the Polish–Lithuanian Commonwealth. It was part of a region annexed by the Russian Empire in 1793, as a consequence of the Second Partition of Poland. From 1919 to 1991, after the Russian Revolution, Minsk was the capital of the Byelorussian Soviet Socialist Republic in the Soviet Union. Minsk will host the 2019 European Games.