Upon his return, Khaqani was immediately detained by Manuchihr's successor Akhsitan I. To memorialize his incarceration in verse, Khaqani composed his most powerful anti-feudal poems in a genre that will later become known as "habsiyāt" (prison poetry). In total, five of his poems describe his ordeal in prison. One of the poems, widely known as the "Christian" qasida, is considered by Gould (2016) to be "one of his boldest acts of literary rebellion". Minorsky (1945) identified Andronicus Comnenus as the patron to whom Khaqani addressed this poem.