Original: Born in 953 CE and originating from Merv, he paid flattery first and foremost to the courts of the Samanids, but also to the Abbasids and Ghaznavids, particularly Mahmud of Ghazni.
Simplified: He was poet in the court of Mahmud Ghaznavi.