When Ferdinand II of Aragon reached the area en route to Vélez-Málaga, in the campaign that culminated in the Siege of Málaga (1487), the Granadan Sultan El Zagal brought a force to oppose them which he stationed around the Bentomiz castle.