The incident happened near the town of Adamuz, close to the city of Cordoba.