Xaqani (also spelled Khaqani or Khāqānī; Azerbaijani: Xaqani Şirvani; Persian: خاقانی; full name: Afzal al-Din Badil ibn Ali ibn Uthman, c. 1120/1127 – c. 1186/1199) was a major Persian poet and prose-writer of the 12th century. He is commonly referred to in Azerbaijani as Xaqani Şirvani, referring to his birthplace in the region of Shirvan.
Life
Xaqani was born into the family of a carpenter in Shirvan, on the border of the Persianate world (present-day Azerbaijan). His mother was originally a slave-girl of Nestorian Christian faith who converted to Islam. According to Xaqani himself, she was a descendant of "the great Philippus," which some scholars have interpreted as referring to Marcus Julius Philippus, the third-century Roman emperor. He lost his father at an early age and was raised by his uncle, Kafi-al-Din Omar, a physician.
Xaqani began writing poetry at a young age, initially under the pen name Haqaiqi ("Seeker"). He served as an ode-writer (qasida composer) to the Shirvanshahs, a dynasty ruling in the Shirvan region. The Shirvanshahs bore the title Khaqan, from which he derived his pen name Khaqani ("regal"). He is widely considered to be among the greatest Persian lyric poets of his era.
His attempts to leave Shirvan on a pilgrimage to Mecca led to his imprisonment by his patrons, and he composed some of his most famous poems—collectively known as habsiyat ("prison poetry")—during these periods of incarceration. After eventually escaping in 1156–57, he undertook a lengthy expedition through the Middle East, which provided material for his celebrated work Tohfat al-ʿErāqayn ("A Gift from the Two Iraqs"). He also composed the famous qasida The Portals at Mada'en, reflecting on the ruins of the Sassanid palace at Ctesiphon as a warning about the transience of royal power.
After a second pilgrimage and the deaths of his first wife and young son, Xaqani retired from court life and settled in Tabriz, where he died. According to the gravestone in Tabriz, his death occurred in July 1199, though other biographical sources give dates ranging from 1186 to 1199.
Works and Legacy
Xaqani's Divan (collected poems) contains qasidas (panegyric and non-panegyric odes), tarji'at (strophic poems), ghazals (love poems), and ruba'is (quatrains). His Tohfat al-ʿErāqayn is a long autobiographical travelogue written in couplet form (mathnawi), exceeding three thousand verses. Approximately sixty letters attributed to him also survive as prose works.
His poetry is noted for its complex and abstruse style, characterized by a vast vocabulary, unusual similes, and allusions to astrology, medicine, theology, and history. Critics have described him as "the inaccessible poet." His habsiyat (prison poetry) is considered among the finest of its kind in the medieval Islamic world.
Xaqani lived within a culturally complex milieu in the Caucasus and maintained contacts with Byzantine, Armenian, and Georgian royalty. His poetry contains frequent Christian imagery, reflecting his partly Christian upbringing and environment.
Xaqani's work influenced later major poets, including Nezami Ganjavi, Jami, and likely Saadi and Hafez. He is regarded as a leading figure in the Shirvanshahs' efforts to claim the heritage of Iran's ancient monarchy. In 2021, Azerbaijan marked the 900th anniversary of Xaqani Shirvani, underscoring his significance in Azerbaijani cultural heritage, while scholarly sources uniformly describe him as a major figure of Persian literature.