Мухаммад II
The battle was between the Moroccan Sultan Abu Abdallah Mohammed II, and his ally, the King of Portugal Sebastian I, against a large Moroccan army nominally under the new Sultan of Morocco (and uncle of Abu Abdallah Mohammed II) Abd Al-Malik I.