For most of its history, up until the Mongol conquest, the inhabitants of the area were from Iranian stock and they spoke an Eastern Iranian language called Khwarezmian. The famous scientist Al-Biruni, a Khwarezm native, in his "Athar ul-Baqiyah", specifically verifies the Iranian origins of Khwarezmians when he wrote (in Arabic):