The Eastern and Western Karakhanids made a frontier treaty: the western frontier ran along the Syr Darya to Khujand, and all of Fergana was left to the Eastern Karakhanids
By an agreement made after 460 (1068) between the Eastern Karakhanid Tughril Qara Khan Mahmud and the Western Karakhanid Shams al-Mulk Nasr, the frontier of the Western Karakhanids followed the Syr Darya as far as Khujand, and the whole of Fergana was left to the Eastern Karakhanids.
Sources
- TDV İslâm Ansiklopedisi, KARAHANLILAR maddesi, https://islamansiklopedisi.org.tr/karahanlilar : «460’tan (1068) sonra iki devlet arasındaki sınırları tesbit eden bir anlaşma yapıldı»