One of my favorite dynasties are the Saffarids, due the fact that it was founded by a mere craftsmen, who managesd to conquer most of Persia, hal of Pakistan and all Afeghanistan. The saffarids were also quite nationalist according too wikipedia:
"The Saffarids gave great care to the Persian culture. Under their rule, the eastern Islamic world witnessed the emergence of prominent Persian poets such as Fayrouz Mashriqi, Abu Salik al-Jirjani, and Muhammad bin Wasif al-Sistani, who was a court poet.[20]
In the later 9th century, the Saffarids gave impetus to a renaissance of New Persian literature and culture. Following Ya'qub's conquest of Herat, some poets chose to celebrate his victory in Arabic, whereupon Ya'qub requested his secretary, Muhammad bin Wasif al-Sistani, to compose those verses in Persian.[21]"
In 876 the Saffarids made a ambitious offensive to take over Bagdad and crush the Abbasid empire:
The route taken during the offensive, and the place of the battle.
The battle resulted on a Saffarid defeat, but while they lost, it was not a crushing decisive defeat and so the dynasty continued for more 150 years until finally was conquered, alltough it lost most of it's strengh after a defeat against the central asian sultanates in Balkh in 901.
Now, let's say that the Saffarid Army wins decisively against the abbasids, crushing their army and capturing Bagdad afterwards, what happens next?