 In the end of the 15th century, together with Novgorod, it was annexed by the Grand Duchy of Moscow and was a part of Bezhetsk pyatina, one of five "pyatinas" Novgorod was administratively divided into.Under Vasily II, some of the lands were given to Stanislaw Melecki, a Polish noble converted to Russian Orthodox church.In the course of the administrative reform carried out in 1708 by Peter the Great, the area was included into Ingermanland Governorate (known since 1710 as Saint Petersburg Governorate), but in 1727 it was transferred to Moscow Governorate.