 The treaty defined the zones of conquest in Andalusia in order to prevent the two rulers from coming into conflict.Six years later, Almería entered into Almohad possession.Alfonso was returning from an expedition against them when he died on 21 August 1157 in Las Fresnedas, north of the Sierra Morena.