ألب أرسلان
During the end of the year of 1067, the Seljuq ruler Alp Arslan went to Arran, where Fariburz was waiting for him with gifts. Later in 1068, Fariburz aided Alp Arslan during one of his campaigns. When Fariburz returned to Shirvan, he marched towards Quni, where he killed many of its people and ravaged the place in order to avenge Lashkarsitan. Some time later, when Alp Arslan returned from his campaigns against the Byzantine Empire, the inhabitants of Derbent objected to Alp Arslan about the capture of some of their chiefs by Fariburz. Alp Arslan ordered him to free them, which he did. Nevertheless, Alp Arslan had Fariburz imprisoned. Meanwhile, Qara-tegin fled from Shamakhi to Masqat but was killed there. Furthermore, the brother of Fariburz, Guzhdaham, fled to Lezgistan, carrying the tribute which Fariburz had to pay Alp Arslan. After some days, Fariburz was released and sent back to Shirvan, but had to in return pay a great amount of money. On July 1068, Fariburz's son Afridun, left Derbent and returned to Shirvan.