Originally a caravan rest stop (possibly founded by the Sogdians) on one of the branches of the Silk Road through the Tian Shan range, the location was fortified in 1825 by the khan of Kokand with a mud fort. In the last years of Kokhand rule, the Pishpek fortress was led by Atabek, the Datka.