Roman emperor
The Western Roman Empire collapsed in the late 5th century. Romulus Augustulus is often considered to be the last emperor of the West after his forced abdication in 476, although Julius Nepos maintained a claim recognized by the Eastern Empire to the title until his death in 480. Following Nepos' death, the Eastern Emperor Zeno abolished the division of the position and proclaimed himself as the sole Emperor of a reunited Roman Empire. The Eastern imperial lineage continued to rule from Constantinople ("New Rome"); they continued to style themselves as Emperor of the Romans (later βασιλεύς Ῥωμαίων in Greek), but are often referred to in modern scholarship as Byzantine emperors. Constantine XI Palaiologos was the last Roman emperor in Constantinople, dying in the Fall of Constantinople to the Ottomans in 1453.
Byzantine Empire
Theodosius I (379–395) was the last Emperor to rule both the Eastern and Western halves of the Empire. In 391 and 392 he issued a series of edicts essentially banning pagan religion. Pagan festivals and sacrifices were banned, as was access to all pagan temples and places of worship. The last Olympic Games are believed to have been held in 393. In 395, Theodosius I bequeathed the imperial office jointly to his sons: Arcadius in the East and Honorius in the West, once again dividing Imperial administration. In the 5th century the Eastern part of the empire was largely spared the difficulties faced by the West – due in part to a more established urban culture and greater financial resources, which allowed it to placate invaders with tribute and pay foreign mercenaries. This success allowed Theodosius II to focus on the codification of Roman law and further fortification of the walls of Constantinople, which left the city impervious to most attacks until 1204. Large portions of the Theodosian Walls are preserved to the present day.