Justin I (; , Ioustînos; 450 – 1 August 527) was the Eastern Roman emperor from 518 to 527. Born to a peasant family, he rose through the ranks of the army to become commander of the imperial guard, and when Emperor Anastasius died he out-maneouvered his rivals and was elected as his successor, in spite of being almost 70 years old. His reign is significant for the founding of the Justinian dynasty that included his eminent nephew Justinian I and three succeeding emperors. His consort was Empress Euphemia. He was noted for his strongly orthodox Christian views. This facilitated the ending of the Acacian schism between the churches of Rome and Constantinople, resulting in good relations between Justin and the papacy. Throughout his reign he stressed the religious nature of his office and passed edicts against various Christian groups seen at the time as non-Orthodox. In foreign affairs he used religion as an instrument of state. He endeavoured to cultivate client states on the borders of the Empire, and avoided any significant warfare until late in his reign. Early career Justin was a peasant and possibly a swineherd by occupation, from the region of Dardania, part of the Prefecture of Illyricum. He was born in the hamlet Baderiana near Scupi (modern Skopje, North Macedonia). He was of Thraco-Roman or Illyro-Roman descent, spoke Latin and only rudimentary Greek, and bore, like his companions and members of his family (Zimarchus, Dityvistus, Boraides, Bigleniza, Sabbatius, etc.), a Thracian name. His sister Vigilantia (born ) married Sabbatius and had two children: the future emperor Petrus Sabbatius Justinianus (born 483) and Vigilantia (born 490). The younger Vigilantia married Dulcissimus (or Dulcidio) and had at least three children: the future emperor Justin II (born 520); the future general Marcellus; and Praejecta (born 520), who married the senator Areobindus. As a teenager, he and two companions fled from a barbarian invasion. Taking refuge in Constantinople, the capital of the Eastern Roman Empire, they possessed nothing more than the ragged clothes on their backs and a sack of bread among them. Illiterate at the time of his arrival there, Justin joined the newly formed palace guard, the excubitors. He served in various positions, campaigning against the Isaurians and the Sassanian Persians and was noticed for his bravery. Because of his ability he was successively appointed a tribune, a comes, a senator and, under the Emperor Anastasius I,