A study of 8,000 years of genetics from Spain and Portugal yields a surprisingly complex picture of the inhabitants' ancestry.