As you say - it was a Turkic ruling class. South of the Amu Daria doubtlessly, and maybe up to the Syr Daria, the majority are Iranians. Restore/retain Persian rule, prevent further incrusions, and the region stays Tajik.
The Heaphtalites are a good example - probably Turkic, but got Aryanised...