Prince Peroz was born in 636, and was thus very young at the time of the reign of his father king Yazdegerd III and never exercised the imperial power of the Sasanians. After the Arab conquest of Iran, Peroz and much of the imperial family escaped through the Pamir Mountains in what is now Tajikistan and arrived at Tang China, which was more supportive of the Sasanians.