The best foreign account of India that this age produced was written by Abu Rlhan, better known as Alberuni, a contemporary of Sultan Mahmud of Ghazni. While the ruthless conqueror was harrying India by fire and sword, destroying and plundering its cities and temples, the great Arabic scholar engaged himself in studying the culture and civilization of the country. He learned Sanskrit and studied its different branches of literature. The bulky volume which he wrote is in many respects the most rational and comprehensive account of India ever written by a foreigner until modern times. He is singularly free from religious enthusiasm, bordering on fanaticism, and the racial superiority-complex which mark the Muslim writings of the age. He patiently laboured to acquire knowledge of Indian society and culture in a laudabile spirit of quest for truth, and brought to his task a liberal and rational mind enriched by profound knowledge, remarkable for his age.