Gabirol's writings indicate that his father was a prominent figure in Córdoba, but was forced to relocate to Málaga during a political crisis in 1013. Gabirol's parents died while he was a child, leaving him an orphan with no siblings or close relatives. He was befriended, supported and protected by a prominent political figure of the time, Yekutiel ibn Hassan al-Mutawakkil ibn Qabrun, and moved to Zaragoza, then an important center of Jewish culture. Gabirol's anti-social temperament, occasionally boastful poetry, and sharp wit earned him powerful enemies, but as long as Jekuthiel lived, Gabirol remained safe from them and was able to freely immerse himself in study of the Talmud, grammar, geometry, astronomy, and philosophy. However, when Gabirol was seventeen years old, his benefactor was assassinated as the result of a political conspiracy, and by 1045 Gabirol found himself compelled to leave Zaragoza. He was then sponsored by no less than the grand vizier and top general to the kings of Granada, Samuel ibn Naghrillah (Shmuel HaNaggid). Gabirol made ibn Naghrillah an object of praise in his poetry until an estrangement arose between them and ibn Naghrillah became the butt of Gabirol's bitterest irony. It seems Gabirol never married, and that he spent the remainder of his life wandering.