The old prestige form of Middle Iranian, also known as Pahlavi, was replaced by a new standard dialect called Dari as the official language of the court.
What language displaced Middle Iranian as the court's official tongue?
Dari