Al-Mu'tamid named him prime minister some time after the death of his father. Ibn Ammar was reputed to be unbeatable at chess; according to Abdelwahid al-Marrakushi, his victory in a game convinced Alfonso VI of Castile to turn away from Seville.
