Original: He was one of the brightest masters of the panegyric school of poetry in the court of Mahmud of Ghazni.
Simplified: Farrokhi was the best poet in the court of Mahmud Ghaznavi.