In the 2nd century BC the Iranians invented their own script (until that time they used the cuneiform script). This script was modelled after the Armenian script and was adapted to the Iranian language. It runs from right to left and consisted of around thirty characters. The muslim invasion in the 7th century ended the use of the Pahlavi script. It remained in use with those people who refused to accept the islamic religion and fled to India to found the Pars community, in memory of the name Persia, their country of origin.