Sultan Mahmud was bright enough to staff his imperial service with educated Persians who could read and write. He announced handsome rewards for men of learning, offers that attracted some nine hundred poets, historians, theologians, philosophers, and other literati to his court, which added to his prestige.