Complex sentence: They first migrated to Herat in Afghanistan and from there they came to India with the army of Mahmood Ghaznavi in eleventh century AD.There first descendent Qazi Yusuf Ghazrooni was appointed the Qazi of Bilgram by Mahmood Ghaznavi.
Split into simpler sentences: They first migrated to Herat in Afghanistan and from there they came to India with the army of Mahmood Ghaznavi in eleventh century AD. Their first descendent Qazi Yusuf Ghazrooni was appointed the Qazi of Bilgram by Mahmood Ghaznavi.