Unraveling ancient civilizations