Principality of Smolensk
It was first mentioned in 1386, when it passed from the Principality of Smolensk to the Grand Duchy of Moscow. The village of Medynskoye was granted town status in 1776.