Al-Mahdi restarted the fighting with the Byzantines, and his sons continued the conflict until Empress Irene pushed for peace. After several years of peace, Nikephoros I broke the treaty, then fended off multiple incursions during the first decade of the 9th century. These attacks pushed into the Taurus Mountains, culminating with a victory at the Battle of Krasos and the massive invasion of 806, led by Rashid himself.