Middle Persian or Pahlavi, also known by its endonym as Parsik (or Parsig in its later form), is a Western Middle Iranian language which became the literary language of the Sasanian Empire. For some time after the Sasanian collapse, Middle Persian continued to function as a prestige language. It descended from Old Persian, the language of Achaemenid Empire, and it is the linguistic ancestor of Modern Persian.