The major battle, Battle of Alcácer Quibir, fought at Ksar-el-Kebir on 4 August 1578, was a catalyst for the 1580 Portuguese succession crisis. This resulted in a dynastic union between the Kingdom of Portugal and the Kingdom of Spain.