Siyavakhsh (also spelled Siyavash) was an Iranian aristocrat from the House of Mihran who was descended from Bahrām Chōbin, the famous spahbed of the Sasanian Empire and briefly its emperor.
Siyavakhsh was the son Mihran Bahram-i Chubin, whose father was Bahram Chobin. Siyavakhsh is first mentioned during the first years of the fall of the Sasanian Empire, where he is said to have ruled Ray as a Sasanian vassal king. When Azarmidokht ascended the Sasanian throne as empress regnant in 630, the powerful spahbed (army chief) Farrukh Hormizd asked her to marry him. Not daring to refuse, Azarmidokht requested Siyavakhsh's aid, who murdered Farrukh Hormizd.
In 632, this civil war ended and the wuzurgan agreed to make Yazdegerd III emperor. However, during the same time, the Arabs, united under the banner of Islam, invaded the Sasanian Empire. Although there were still numerous pagan and Christian Arabs who opposed the Muslim Arabs.
By 651, most of the Sasanian Empire had been conquered by the Arabs, Ray being one of the last Sasanian major cities left. Thus the Arab al-Nu'man ibn Muqrin marched towards Ray, and sent a message to them; "The Arab army has set out toward Rayy, and the Arabs have spread elsewhere. None can stand up to them. And Yazdegerd III is far from us." Siyavakhsh then requested help from the people of Damavand, Tabaristan, Qumis, and Gorgan. Mardanshah of Damavand and other petty rulers agreed to help and sent reinforcements to Siyavakhsh. Unfortunately for Siyavakhsh, Farrukh Hormizd's son Farrukhzad, who had mutinied against Yazdegerd III and knew the environs of Ray very well, made a peace treaty with al-Nu'man at Qazvin and agreed to help him against Siyavakhsh.