Mongol invasion of Rus'
The town of Melnytsia was first mentioned in the 11th century, which was soon destroyed during the Mongol invasion of Rus'. From 1362, the settlement was in the possession of the Koriatovych family. From the end of the 16th century, Lanckoroński magnates ruled the territory. Ever since the 17th century, the settlement was known as Melnytsia-nad-Dnistrom (or Melnytsia-upon-the-Dnister). In 1747, the town was granted Magdeburg rights. Later in that century, the territory changed hands, to be controlled by the Dunin-Borkowski grafs.