The naval <a href="https://en.wikipedia.org/wiki/Battle_of_Algeciras_(1278)" id="mwRA" rel="mw:WikiLink" title="Battle of Algeciras (1278)">Battle of Algeciras</a> takes place in the context of the <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Spanish_Reconquista" id="mwRQ" rel="mw:WikiLink" title="Spanish Reconquista">Spanish Reconquista</a> resulting in a victory for the <a href="https://en.wikipedia.org/wiki/Emirate_of_Granada" id="mwRg" rel="mw:WikiLink" title="Emirate of Granada">Emirate of Granada</a> and the Maranid Dynasty over the <a href="https://en.wikipedia.org/wiki/Kingdom_of_Castile" id="mwRw" rel="mw:WikiLink" title="Kingdom of Castile">Kingdom of Castile</a>.