Sulayman ibn al-Hakam, born in the year nine hundred sixty-five, emerged as a pivotal figure in the tumultuous history of Al-Andalus. He became the fifth Caliph of Córdoba, ruling during two distinct periods: from one thousand nine to one thousand ten, and again from one thousand thirteen to one thousand sixteen. His ascent to power was marked by a backdrop of political strife, as Muhammad II ibn Hisham led a revolt against the reigning caliph, Hisham II al-Hakam, in February one thousand nine.
Taking advantage of the chaos, Muhammad II seized Córdoba, initiating a campaign of persecution against the Berber population. In response, many Berbers fled north to Calatrava, where they rallied behind Sulayman as their candidate for the Caliphate. With the support of an army composed of Berbers and Castilians, and an alliance with Count Sancho García of Castile, Sulayman launched a military campaign that culminated in a series of victories against Muhammad II's forces, including significant battles at Qantish and Alcolea in November one thousand nine.
Upon entering Córdoba on the ninth of November, Sulayman freed Hisham II from imprisonment, only to later depose him and assume the title al-Musta'in bi-llah, meaning 'He Who Seeks for God's Help.' His reign, however, was fraught with challenges. In May one thousand ten, Muhammad II, having regrouped with mercenaries from Europe, managed to reclaim Córdoba, forcing Sulayman to retreat to Algeciras.
Despite setbacks, Sulayman demonstrated resilience by repulsing attacks and eventually reconquering Córdoba in one thousand thirteen with Berber assistance. His leadership, however, led to a significant reduction in the caliphate's authority, as the Zirids of Granada established their own independent dynasty. The final chapter of Sulayman's life unfolded in one thousand sixteen when Córdoba fell to a large Berber army, resulting in his imprisonment and subsequent execution.