Grand Duchy of Moscow
In the 13th century, the settlement marked a point where the borders of the Grand Duchy of Moscow, Tver, and Pereslavl-Zalessky converged. The settlement itself belonged to the princes of Galich-Mersky, located much to the north, until 1364, when it was incorporated into the Grand Duchy of Moscow. Both Dmitry Donskoy and his grandson Vasily II granted Dmitrov as an appanage to their younger sons, so Dmitrov was the capital of a tiny principality. In 1374, it was given town rights.