The Kimiya-yi Sa'ādat was written towards the end of his life shortly before 499 AH/1105 AD. During the time before it was written, the Muslim world was considered to be in a state of political, as well as intellectual unrest.
The Kimiya-yi Sa'ādat was penned towards the end of his life, preceding 499 AH/1105 AD. The Muslim world during this era was marked by turmoil in politics and intellectual pursuits.