Battle of Alcácer Quibir
In 1578, King Sebastian of Portugal suffered a crushing defeat in the Battle of Alcácer Quibir at the hands of the King Abd al-Malik of Morocco, which ended Portugal's ambitions to invade and Christianize the Maghreb. Both kings died during the battle, as did Abdallah Mohammed, who was allied with Sebastian. The death of King Sebastian started the events which led to the temporary union of the crowns of Portugal and Spain under Philip II of Spain. King Abd al-Malik's victory gave Morocco substantial strength and international prestige.