Bajkam was challenged throughout his rule by various opponents, including his predecessor as amir al-umara, Muhammad ibn Ra'iq, the Basra-based Baridis, and the Buyid dynasty of Iran, but he succeeded in retaining control until his death.
He was a Turk, and began his career as one of the ghilman (military slaves, usually of Turkish origin) of a vizier to the Daylamite warlord Makan ibn Kaki in northern Iran.
Bajkam and his fellow officer Tuzun assumed the leadership of a large group and, after first offering their services to the new governor of Jibal, Hasan ibn Harun, proceeded to the Abbasid court at Baghdad.
[1][4] At first, their offers were rejected by the court, where the Caliph's Hujariyya bodyguards jealously guarded their prerogatives, but the ghilman were eventually taken into the service of Muhammad ibn Ra'iq, governor of Basra and Wasit in southern Iraq.
With their aid, he managed to neutralize the Hujariyya and Saji guard units, after which, in February 937, Bajkam was rewarded with the posts of sahib al-shurta (chief of police) and governor of the eastern provinces.
[3] Ibn Ra'iq himself was defeated and forced to leave Basra to the Baridis, but Bajkam saved the situation by scoring two major victories, despite being outnumbered, that allowed him to take possession of Khuzistan.
[6] In October–November 938, Bajkam and the Caliph campaigned against the influential Hamdanid emir of Mosul, Hasan ibn Abdallah, who had taken advantage of the turmoil in Iraq to cease forwarding his province's revenue to Baghdad.
In the meantime, the local population resented the presence of the caliphal troops and launched guerilla warfare against them, while Ibn Ra'iq used Bajkam's absence to take control of Baghdad at the head of a Carmathian force.
[1] Neither side really trusted the other—Bajkam is said to have remarked of his father-in-law, an inveterate intriguer, that his "turban covered the head not of a man but of a devil"—but the deal allowed a fragile peace to prevail in Iraq.
[11] Bajkam also sent a slave named Takinak to the deceased Caliph's palace, the Dar al-Sultan, to procure various items, including the valuable al-Yatimah pearl.
[1][11] Bajkam's unexpected death created a power vacuum in Baghdad, with disagreements between Daylamite and Turkish forces prompting the former to join the defeated al-Baridi.
A Daylamite chief named Kurankij replaced him as de facto ruler of Baghdad, but he imposed tyrannical rule, and al-Muttaqi appealed to the former amir al-umara Ibn Ra'iq for assistance.
[13] Despite his slave origin, Bajkam was educated in Arabic (although he reportedly did not speak it for fear of making mistakes), respected by intellectuals and was known to seek the company of such men as al-Suli and the physician Sinan ibn Thabit.
According to the researcher Marius Canard, Bajkam was "covetous of power and money, he did not hesitate to resort to dissimulation and ruse, corruption and torture to attain his ends; he was at times cruel, though his bravery was legendary, and was more upright in character than Ibn Ra'iq".