During the 1860s at the time of Dungan Revolt, lawlessness led to the valley being frequented by Kyrgyz robbers who would capture caravans and sell the caravaners into slavery in Badakshan. A fort was set up by the princely state of Jammu and Kashmir (part of the British Indian Empire) downstream near Xaidulla to help protect the caravans.