Scientists use ancient DNA, historical context to unravel ki