Answer
Rudaki's illustrious career met an unfortunate end when he was dismissed from the court of the Samanid ruler, Nasr II. The reasons for his dismissal remain shrouded in mystery, but it is believed that his outspoken nature and political allegories in his poetry may have offended the sensibilities of the court.