The Persian Samanid dynasty adopted the Arabic script for writing Persian in the 9th century.