In 224 Ardashir I destroyed the Parthians and founded the Sasanian dynasty, styling himself 'king of kings'; Zoroastrianism was restored as state faith, priest and crown propping each other. Shapur I (240-270) thrice broke Rome and took the emperor Valerian (the battle of Edessa, 260) - his rock reliefs and inscriptions are famed; Khosrow I (531-579) reformed tax and army, and the culture was of open hand: the academy of Gundeshapur gathered Greek, Indian and Persian learning, and chess and matter of the Thousand and One Nights flowed in. The century-long war with Byzantium bled both white; Qadisiyyah (637) and Nahavand (642) fell to the Arabs, and with the last king Yazdegerd III killed in 651 the Sasanian age closed and Persia passed into the Islamic era - its court and culture shaping that world deeply.