Ibn Hani played an important role in establishing the political propaganda for the
Fatimid State through his poetry. He claimed in a number of panegyrical verses that not only all of the Muslim world, but the entire world belongs legitimately to the Fatimid Caliph. Also, his political mentioning dramatically merges with his religious views whereby he claims that the
Umayyads and the
Abbasids rule over illegitimate territories as they have defied the sayings of
Muhammad by usurping and killing the Ahl al Bait for whom Muhammad willed obedience, loyalty and allegiance and the Fatimid Imam is that very descendant who claims absolute loyalty of the Muslim world. The Fatimids believed themselves surrounded by these two and the
Byzantine Empire as enemies. The propaganda written by Ibn Hani attacked where he thought them most vulnerable. The
Umayyads were chastised for cowardice, ostentatious luxury, questionable genealogy and ineptitude. The
Abbasids, the weakest and most distant of the Fatimid adversaries, were seen as debauched people unworthy to rule, effeminate, indifferent to the Byzantine advances in Syria they were unable to check, and an old decrepit dynasty which should make room for new blood. The propaganda against the Byzantines, which was written primarily for internal consumption and self-congratulation, created an image of the infidel ever defeated by the might of Fatimid land and sea power. This propaganda coupled with intense diplomacy resulted in a series of convergent attacks against Egypt, the Byzantine fleet, the
Qarmatians in Palestine and
Berber tribes near
Alexandria. After c. 966, an official Fatimid delegation was sent to Egypt inviting the amir
Kafur to recognize Fatimid suzerainty. The embassy was given amiable reception but nothing more. On 23 April 968 C.E., Kafur died leaving Egypt open for conquest. The news reached al Muizz in al Mansuriyyah a month later. By the middle of Ramadan in the year 969 C.E., a messenger had returned to al Muizz with the glad tidings that Egypt had fallen to the Fatimids. Ibn Hani, ready on the spot, recited an ode which began thus: "The Abbasids are saying, "Has Egypt been conquered?", So say to them, "The matter has been decided!" ==Death==