Flavius Valens (328 – 9 August 378) was Roman emperor from 364 to 378. He was the younger brother of the emperor Valentinian I, who gave Valens the eastern half of the Roman Empire to rule. Before 364, Valens had a largely unremarkable military career. In 378, Valens was defeated and killed at the Battle of Adrianople against the invading Goths, which astonished contemporaries and marked the beginning of barbarian encroachment into Roman territory.