He was a rich merchant who was an amin (provost or magistrate) in Fes under the Alaouite sultan Moulay Ismail (ruled 1672–1727) and then became governor of the city under his son, Sultan Moulay Abdallah (ruled 1729–1734).[4][1][4] 'Adiyil was also responsible for the construction of the Funduq al-Najjarin to the east.