 al-Amin had been born Sidi al-Fadil, and was descended from Zawaya employed by the Hassan chiefs.It was therefore hoped that al-Amin would be able to bring the Hassan to terms, who having been beaten in three battles, were ready to negotiate.An agreement was reached between the Hassan and the Zawaya whereby the Hassan would recognise the spiritual authority of the Zawaya Imam, and in return the Imam would give up all political claims, including his ability to levy zakat.