Input (grade 6): The dynasty Ardeshir founded would rule for four centuries until overthrown by the Rashidun Caliphate in 651.
Output (grade 8): The dynasty Ardashir founded would rule for four centuries until overthrown by the Rashidun Caliphate in 651.