Gainas was an ambitious Gothic leader who served the Eastern Roman Empire as Magister Militum during the reigns of Theodosius I and Arcadius.
Gainas began his military career as a common foot-soldier, but later commanded the barbarian contingent of Theodosius' army against the usurper Eugenius in 394. Under the command of Gainas, a man of "no lineage", was the young Alaric of the Balti dynasty. In 395, he combined his forces with those of Stilicho and Eutropius to bring about the fall of Rufinus.
In 399 he replaced the Magister Militum Leo after the latter failed to put down invasions led by Ostrogothic chieftain Tribigild, who was devastating Asia Minor. Gainas too failed to put down the invasions, although he blamed his failure on Eastern Roman Emperor Arcadius' palace chamberlain (cubicularius) Eutropius. Gainas then proceeded to install his forces in Constantinople, where he ruled for several months. He attempted in effect to copy the success of Stilicho in the West and posed a danger to the survival of the Eastern Roman Empire. He deposed all the anti-Goth officials and had Eutropius executed, though after the intervention of St. John Chrysostom the others were spared.
While a somewhat competent military commander, the zealous Arian Gainas was patently unable to administer a city of 200-400,000 whose Graeco-Roman populace intensely resented barbarian Goths and Arian Christians. Gainas' compromises with Tribigild led to rumors that he had colluded with Tribigild, his kinsman; when he returned to Constantinople in 400, riots broke out. He attempted to evacuate his soldiers but even then the citizens of Constantinople managed to trap and kill 7,000 armed Goths, spurred to action by the Empress Aelia Eudoxia.
In response, Gainas and his forces attempted to flee back across the Hellespont, but their rag-tag ad hoc fleet was met and destroyed by another Goth in Imperial service, Fravitta, who was subsequently made consul for 401 but was later accused of treason and executed as well. After this battle, Gainas fled across the Danube and was caught by the Huns under Uldin. Gainas was killed, and his head was sent by Uldin to Arcadius c. 400 as a diplomatic gift.
Gainas' usurpation is the subject of the Egyptian Tale and the speech On Imperial Rule by Synesius of Cyrene who represented the anti-barbarian faction of the Byzantine nobility.
Herwig Wolfram, the historian of the Goths, notes that the death of Gainas marks an end to the relatively pluralistic Gothic tribal development with independent warbands: "thereafter only two ethnogeneses were possible: that of the Roman Goths within the empire and that of the Hunnic Goths at its doorstep".