He was a son of Malik Shah I and participated in the succession wars against his three brothers and one uncle, namely Mahmud I, Ahmed Sanjar, Malik Shah II and Mehmed I. Jalal ad-Dawlah Malik Shah was the Seljuk sultan from 1072 to 1092. ... Muizz ad-Din Ahmed Sanjar (1084/1086 - May 8, 1157) was the sultan of Great Seljuk from 1118 to 1153. ... Ghiyath ad-Din Mehmed Tapar (probably died in 1118) was a Seljuk leader who revolted against Sultan Ahmed Sanjar in 1104. ...
Barkiyaruq was taken to Ray where he was also placed on the throne.
Mahmud died in 487/1095, and the Abbasids recognized the rule of Barkiyaruq, whose seat of power was in Western Iran and Iraq.
The mob and the theologians accused Barkiyaruq of favouring the Ismailis, therefore he purged them from his forces, and at the end of his reign, he evoked harrowing persecution.
The Sultan Barkiyaruq, who was precariously in control of Isfahan in 1099, had succeeded his father, the mighty Malik Shah in 1094.
His enemies accused Barkiyaruq of being drunk and dissolute; he was certainly young and inexperienced.
It seems most unlikely that, from Barkiyaruq's perspective, the arrival of a Christian band of barbarians on the western edges of his empire was perceived as constituting a major problem.