Gender-ambiguous people in ancient Mesopotamia were powerful and important members of society more than four millennia ago.