\begin{timechart}[
    axis line/.append style={ draw=gray, line width=.5pt },
    grid/.append style={ draw=lightgray!50!white, line width=.5pt },
    minor tick/.append style={ draw=gray },
    major tick/.append style={ line width=.5pt, draw=gray },
    major tick label/.append style={ node font=\small },
    interval label/.style={ node font=\sffamily\footnotesize },
    text/.style={ node font=\sffamily\small\itshape, },
    ystep=-3.25mm,
  ]{-50}{500}

  \pgfmathsetmacro{\mainlinecount}{46}

  \timechartsetyminimumautoreset{-3.25mm*\mainlinecount+1mm}

  \timechartinterval[interval bar color=gray,right,mark=-45]{-100}{-44}{Julius Caesar}
  \timechartinterval[julioclaudian,right,mark=-27]{-63}{-14}{Augustus}
  \timechartinterval[julioclaudian,right,mark=14]{-42}{37}{Tiberius}
  \timechartinterval[julioclaudian,right,mark=37]{12}{41}{Caligula}
  \timechartinterval[julioclaudian,right,mark=41]{-10}{54}{Claudius}
  \timechartinterval[julioclaudian,right,mark=54]{37}{68}{Nero}

  \timechartinterval[fouremperors,mark=68]{-3}{69}{Galba}
  \timechartinterval[fouremperors,mark=69]{32}{69}{Otho}
  \timechartinterval[fouremperors,mark=69]{15}{69}{Vitellius}

  \timechartinterval[flavian,mark=69]{9}{79}{Vespasian}
  \timechartinterval[flavian,mark=79]{39}{81}{Titus}
  \timechartinterval[flavian,mark=81]{51}{96}{Domitian}

  \timechartinterval[nervaantonine,mark=96]{30}{98}{Nerva}
  \timechartinterval[nervaantonine,mark=98]{53}{117}{Trajan}
  \timechartinterval[nervaantonine,mark=117]{76}{138}{Hadrian}
  \timechartinterval[nervaantonine,mark=138]{86}{161}{Antoninus Pius}
  \timechartinterval[nervaantonine,mark=161]{121}{180}{Marcus Aurelius}
  \timechartinterval[nervaantonine,mark=161]{130}{169}{Lucius Verus}
  \timechartinterval[nervaantonine,mark=180]{161}{192}{Commodus}

  \timechartinterval[fiveemperors,mark=193]{126}{193}{Pertinax}
  \timechartinterval[fiveemperors,mark=193]{133}{193}{Didius Julianus}

  \timechartinterval[severan,mark=193]{145}{211}{Septimus Severus}
  \timechartinterval[severan,mark=211]{188}{217}{Caracalla}
  \timechartinterval[severan,mark=211]{189}{211}{Geta}
  \timechartinterval[severan,mark=217]{c165}{218}{Macrinus}
  \timechartinterval[severan,mark=218]{203/204}{222}{Elagabalus}
  \timechartinterval[severan,mark=222]{208}{235}{Severus Alexander}

  \timechartinterval[thirdcentury,mark=235]{c172/c180}{238}{Maximinus I}
  \timechartinterval[thirdcentury,mark=238]{c158}{238}{Gordian I}
  \timechartinterval[thirdcentury,mark=238]{192}{238}{Gordian II}
  \timechartinterval[thirdcentury,mark=238]{164}{238}{Pupienus}
  \timechartinterval[thirdcentury,mark=238]{c164}{238}{Balbinus}
  \timechartinterval[thirdcentury,mark=238]{225}{244}{Gordian III}
  \timechartinterval[thirdcentury,mark=244]{c204}{249}{Philip I}
  \timechartinterval[thirdcentury,mark=249]{c190/200}{251}{Decius}
  \timechartinterval[thirdcentury,mark=251]{c206}{253}{Trebonianus Gallus}
  \timechartinterval[thirdcentury,mark=253]{c207}{253}{Aemilianus}
  \timechartinterval[thirdcentury,mark=253]{c200}{262}{Valerian}
  \timechartinterval[thirdcentury,mark=253]{218}{268}{Gallienus}
  \timechartinterval[thirdcentury,mark=268]{214}{270}{Claudius II}
  \timechartinterval[thirdcentury,mark=270]{230/250}{270}{Quintillus}
  \timechartinterval[thirdcentury,mark=270]{214}{275}{Aurelian}
  \timechartinterval[thirdcentury,mark=275]{c200}{276}{Tacitus}
  \timechartinterval[thirdcentury,mark=276]{226/256}{276}{Florianus}
  \timechartinterval[thirdcentury,mark=276]{232}{282}{Probus}
  \timechartinterval[thirdcentury,mark=282]{c224}{283}{Carus}
  \timechartinterval[thirdcentury,mark=283]{c250}{285}{Carinus}
  \timechartinterval[thirdcentury,mark=283]{c253}{284}{Numerian}

  \timechartinterval[tetrarchy,mark=284]{242/245}{311/312}{Diocletian}
  \timechartinterval[tetrarchy,mark=286]{c250}{310}{Maximian}
  \timechartinterval[tetrarchy,mark=305]{c258}{311}{Galerius}
  \timechartinterval[tetrarchy,mark=305]{c250}{306}{Constantius I}
  \timechartinterval[tetrarchy,mark=306]{257/287}{307}{Severus II}
  \timechartinterval[tetrarchy,marks={308,324}]{c265}{325}{Licinius}
  \timechartinterval[tetrarchy,mark=310]{c270}{313}{Maximinus II}
  \timechartinterval[tetrarchy,mark=316]{267/297}{317}{Valerius Valens}
  \timechartinterval[tetrarchy,mark=324]{275/305}{325}{Martinian}

  \timechartinterval[constantinian,mark=306]{272/273}{337}{Constantine I}
  \timechartinterval[constantinian,mark=337]{316}{340}{Constantine II}
  \timechartinterval[constantinian,mark=337]{322/323}{350}{Constans I}
  \timechartinterval[constantinian,mark=337]{317}{361}{Constantius II}
  \timechartinterval[constantinian,mark=361]{331}{363}{Julian}
  \timechartinterval[constantinian,mark=363]{330/331}{364}{Jovian}

  \timechartinterval[valentinianic,mark=364]{321}{375}{Valentinian I}
  \timechartinterval[valentinianic,mark=364]{c328}{378}{Valens}
  \timechartinterval[valentinianic,mark=375]{359}{383}{Gratian}
  \timechartinterval[valentinianic,mark=388]{371}{392}{Valentinian II}

  \timechartinterval[theodosian,mark=379]{346/347}{395}{Theodosius I}
  \timecharttext[center]{395}{Eastern}
  \timechartinterval[theodosian-east,mark=395]{377}{408}{Arcadius}
  \timechartinterval[theodosian-east,mark=408]{401}{450}{Theodosius II}
  \timechartinterval[theodosian-east,mark=450]{391/392}{457}{Marcian}

  \timechartinterval[leonid,mark=457]{400/401}{474}{Leo I}
  \timechartinterval[leonid,mark=474]{467}{474}{Leo II}
  \timechartinterval[leonid,mark={474,475,476}]{425}{491}{Zeno}
  \timechartinterval[leonid,mark=475]{426/456}{476/477}{Basilicus}
  \timechartinterval[leonid,mark=491]{430/431}{518}{Anastasius I}

  \timechartinterval[justinian,mark=518]{450}{527}{Justin I}
  \timechartinterval[justinian,mark=527]{482}{565}{Justinian I}

  \timecharttext[center]{395}{Western}
  \timechartinterval[theodosian-west,mark=395]{384}{423}{Honorius}
  \timechartinterval[theodosian-west,mark=421]{371/401}{421}{Constantius III}
  \timechartinterval[theodosian-west,mark=425]{419}{455}{Valentian III}

  \timechartinterval[lastwest,mark=455]{405/435}{455}{Petronius Maximus}
  \timechartinterval[lastwest,mark=455]{406/436}{456/457}{Avitius}
  \timechartinterval[lastwest,mark=457]{411/441}{461}{Majorian}
  \timechartinterval[lastwest,mark=461]{415/445}{465}{Libius Severus}
  \timechartinterval[lastwest,mark=467]{422/452}{472}{Anthemius}
  \timechartinterval[lastwest,mark=472]{422/452}{472}{Olybrius}
  \timechartinterval[lastwest,mark={473,474}]{443/473}{474/504}{Glycerius}
  \timechartinterval[lastwest,mark={474,465}]{430/460}{480}{Julius Nepos}
  \timechartinterval[lastwest,mark={475,476}]{c465}{507/527}{Romulus}

  \timechartsetyminimumautoreset{-\maxdimen}
  \timechartsety{(-\mainlinecount-1)*3.25mm}

  \timechartinterval[
    center,
    interval bar color=darkgray,
    interval text/.append style={ text=white },
    interval bar thickness=6.5mm
  ]{-509}{-27}{}
  \timechartstepy[-1]
  \timechartinterval[
    center,
    interval bar color=black,
    interval text/.append style={ node font=\sffamily\normalsize,text=white },
    interval bar thickness=6.5mm
  ]{-27}{395}{Roman Empire}
  \timechartstepy[-1.5]
  \timechartinterval[
    center,
    interval bar color=lightgray,
    interval bar thickness=3.25mm
  ]{395}{1453}{Eastern}
  \timechartinterval[
    center,
    interval bar color=gray,
    interval bar thickness=3.25mm
  ]{395}{476}{Western}
\end{timechart}
