In 376, the Ostrogoths, fleeing from the Huns, received permission from Emperor Valens (r.