 Later Maximus was captured and executed at Aquileia.Valentinian I, after his death, in 375, was succeeded in the west jointly by two of his two sons, Gratian and Valentinian II.Gratian, who was 17 years old at his accession, began his rule well, subduing the Alemans in a hard-fought campaign beyond the Rhine in 377 and reacting with foresight and prudence to the death of his uncle Valens at the battle of Adrianople, appointing Theodosius I, a skillful commander, with the authority of Augustus to contain the Gothic irruption.