Abu al-Baqa' al-Rundi wrote this elegy, named the Nuniyya for its rhyme in nun, for the cities of al-Andalus that fell to the Christian kingdoms in the seventh century AH (the thirteenth CE), from Valencia, Murcia, Xativa and Jaen to Cordoba and Seville, and as a call for help to the Muslims across the sea. The Marinid chronicle al-Dhakhira al-Saniyya says he composed it when Ibn al-Ahmar, the ruler of Granada, handed a number of towns to the king of Castile in 665 AH (1267 CE). It opens on the passing of all things and of the great kings and peoples of the past, then mourns the cities of the Peninsula and their mosques turned into churches, calls on the horsemen beyond the sea, and ends with the captives: a mother parted from her child, a girl led away by her captor. Al-Maqqari, who gives it in Nafh al-Tib and Azhar al-Riyad, warns that copies in circulation add lines on Granada, Baza and other cities taken after the poet's death, and says he copied his own text from the handwriting of a trustworthy man. The historian Muhammad Abdallah Inan counts it among the finest and most moving of national elegies.