This development probably occurred some time during the second half of the 8th century, when the old middle Persian script began dwindling in usage.
When did usage of Middle Persian script fall off?
second half of the 8th century