period it was a
Bulgarian city in the First Bulgarian Empire and the Second Bulgarian Empire,
later it was part of the Serbian
Empire in the early 14th century
and the town governor was Jovan
Oliver during the time of Emperor Dusan, it was part of Konstantin Dragas realm in 1355-1395. Before the Balkan Wars, it was a township (kaza)
with the name Köprülü in Uskub sandjak, vilayet, Ottoman empire.