other political entities The Battle of Vega de Pagana (Winter, 1339) took place between forces loyal to the King Alfonso XI of Castile against those mainly of the Maranid sultan Abu al-Hasan 'Ali of Morocco.
In 1333-1334, Abu Malik had led the Marinid and Granadan forces to wrest Gibraltar from Castilian control.
On February 26, 1334, a peace treaty was signed in Fez requiring the Muslim forces to refrain from offensive actions.
With the expiration of the peace treaty, Abu Hasan renewed his ambition of expanding holdings in Andalusia, and in 1338, Abu Malik had begun skirmishing along a front in Arcos de la Frontera, Jerez de la Frontera, and Medina Sidonia.
[1] He engaged in a fierce battle at a site described as Vega de Pagana, and his forces were defeated, with many Christian losses.