San Esteban de Gormaz
Even before al-Andalus was firmly under his rule, he had restarted the war against King Ordoño II of León, who had taken advantage of the previous troublesome situation to capture some boundary areas and menace the Umayyad territory. In 917 the then emir had sent a large army under his general Ahmad ibn Abi Abda against León, but this force was destroyed at the Battle of San Esteban de Gormaz in September of that year.