Abu'l-Hasan Bayhaqi

[3] Bayhaqi was born in Sabzevar, in northeastern Iran, the main city of the Bayhaq district, where his father’s estates were located.

[1] In 1114, Bahyaqi along with his father visited Omar Khayyam, the famous Persian mathematician and astronomer, in Nishapur and while there Bayhaqi began his education in literature and science.

Bayhaqi became the qadi of Bayhaq through the efforts of his father-in-law, Shehab-al-Din Moḥammad b. Mas'ud, along with patronage from the Seljuq Sultan Sanjar.

After an attempt to establish himself in Bayhaq failed "because of his relatives’ envy", Bayhaqi finally returned again to Nishapur and settled down to life in the seminary and the mosque.

[1] In 1148, Demetrius I of Georgia presented inquiries ("of unknown purport") in Syriac and Arabic to Sultan Sanjar through an envoy.