His ancestor was a Turkic slave who eventually became a viceroy of a small province named Khwarizm.
Njegov predak bio je turski rob, koji je na kraju postao tamošnji namjesnik male provincije zvane Horezm (Khwarizm).