The prolonged Byzantine-Sassanid Wars, most importantly the climactic Byzantine-Sassanid War of 602-628, as well as the social conflict within the Sassanid Empire, opened the way for an Arab invasion to Iran in the 7th century.