Al Khazini seems to have been a high government official under Sanjar ibn Malikshah and the sultan of the Seljuk Empire. He did most of his work in Merv, where they are known for their libraries. His best-known works are "The Book of the Balance of Wisdom", "Treatise on Astronomical Wisdom", and "The Astronomical Tables for Sanjar".