HTMLcopy
x
1
<head>
2
<link rel="preconnect" href="https://fonts.googleapis.com">
3
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
4
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap" rel="stylesheet">
5
</head>
6
7
<button id="period-button" onclick="zoomTo('kingdom')">Roman Kingdom</button>
8
<button id="period-button" onclick="zoomTo('republic')">Roman Republic</button>
9
<button id="period-button" onclick="zoomTo('empire')">Roman Empire</button>
10
<button id="period-button" onclick="zoomTo('empires')">Two Empires</button>
11
<button id="zoom-out" onclick="zoomOut()">Zoom out</button>
12
13
<div id="container"></div>
CSScopy
48
1
html, body {
2
width: 100%;
3
height: 100%;
4
margin: 0;
5
padding: 0;
6
}
7
8
#container {
9
position: absolute;
10
min-width: 1000px;
11
width: 100%;
12
top: 40px;
13
bottom: 0;
14
}
15
16
#period-button, #zoom-out {
17
background-color: #bad5f1;
18
border: none;
19
padding: 5px 10px;
20
text-align: center;
21
text-decoration: none;
22
display: inline-block;
23
font-size: 16px;
24
font-family: "Cinzel", serif;
25
margin-top: 5px;
26
margin-left: 5px;
27
}
28
29
#period-button:hover, #zoom-out:hover {
30
color: #fff;
31
background-color: #1976d2;
32
}
33
34
#zoom-out {
35
position: absolute;
36
right: 5px;
37
}
38
39
img {
40
max-width: 300px;
41
max-height: 300px;
42
}
43
44
p {
45
font-family: "Cinzel", serif;
46
margin-top: 1px;
47
margin-bottom: 1px;
48
}
JavaScriptcopy
1775
1
// Create a chart variable here to be accessible from various places in the script
2
var chart;
3
4
// Ensure the main charting code runs after the page has loaded with all external resources
5
anychart.onDocumentReady(function () {
6
7
// Create a timeline chart
8
chart = anychart.timeline();
9
10
// Set the minimum and maximum dates of the timeline scale
11
chart.scale().minimum(Date.UTC(-1000));
12
chart.scale().maximum(Date.UTC(1500));
13
14
// Set the chart's data (see lines 154-1692):
15
var data = loadData();
16
17
// 1) Set the range series for periods (e.g., rulers, empires)
18
for (let i = 0; i < data.periods.length; i++) {
19
var period = data.periods[i];
20
var range = chart.range(period.ranges);
21
range.name(period.name);
22
range.direction(period.direction);
23
range.labels().fontFamily("Cinzel");
24
// Customize the range series tooltip:
25
var tooltip = range.tooltip();
26
// enable HTML in the tooltip
27
tooltip.useHtml(true);
28
// format the tooltip content
29
tooltip.format(function(){
30
var img = this.getData("img");
31
var description = this.getData("description");
32
return "<center><img src='" + img + "'/></center><p style='max-width: 250px;'>" + description + "</p>";
33
});
34
// disable the tooltip separator
35
tooltip.separator(false);
36
// enable HTML in the tooltip header
37
tooltip.title().useHtml(true);
38
// format the tooltip header
39
tooltip.titleFormat(function(){
40
// use the anychart.format.dateTime() method to format the dates
41
var start = anychart.format.dateTime(this.start, "y G");
42
var end = anychart.format.dateTime( this.end, "y G");
43
return "<p>" + this.x + " (" + start + " – " + end + ")</p>";
44
});
45
};
46
47
// 2) Set the moment series for events (e.g., battles, establishment of states)
48
for (let i = 0; i < data.events.length; i++) {
49
var event = data.events[i];
50
var moment = chart.moment(event.moments);
51
moment.name(event.name);
52
moment.direction(event.direction);
53
moment.labels().fontFamily("Cinzel");
54
// Configure the moment series tooltip:
55
var tooltip = moment.tooltip();
56
// enable HTML in the tooltip
57
tooltip.useHtml(true);
58
// format the tooltip content
59
tooltip.format(function(){
60
var img = this.getData('img');
61
var description = this.getData('description');
62
return "<center><img src='" + img + "'/></center><p style= 'max-width: 250px;'>" + description + "</p>";
63
});
64
// disable the tooltip separator
65
tooltip.separator(false);
66
// enable HTML in the tooltip header
67
tooltip.title().useHtml(true);
68
// format the tooltip header
69
tooltip.titleFormat(function(){
70
var x = new Date(this.x);
71
// use the anychart.format.dateTime() method for date formatting
72
var formatted = anychart.format.dateTime(x, "y G");
73
return "<p>" + this.value + ", " + formatted + "</p>";
74
});
75
};
76
77
// Enable the scroller for better navigation of the timeline
78
chart.scroller(true);
79
80
// Add an event listener to zoom into an element when it's clicked:
81
chart.listen("pointClick", function(e){
82
var start, end, gap;
83
// check if the clicked element is a moment or a period
84
var type = e.series.getType();
85
// configure the behavior for moments
86
if (type == "moment") {
87
var momentDate = e.point.get("x");
88
// zoom into the moment, showing 50 years before and after it
89
start = momentDate;
90
end = momentDate;
91
// 50 years in milliseconds
92
gap = 1577880000000;
93
} else { // for periods (non-moment elements)
94
// zoom into the period, showing 10% of its length before its start and after its end
95
start = e.point.get("start");
96
end = e.point.get("end");
97
gap = (end - start)/10;
98
};
99
// zoom into the element when it's clicked
100
chart.zoomTo(start - gap, end + gap);
101
});
102
103
// Patch the zoom levels since we're working with years and centuries (see lines 1745-1775)
104
chart.scale().zoomLevels(patchedZoomLevels());
105
106
// Disable the selection functionality to allow click tracking for zooming
107
chart.interactivity().selectionMode("none");
108
109
// Call the custom locale-altering function before the chart creation
110
// to tweak the locale to work with AD and BC (era designators) - see lines 1694-1743
111
patchDateTimeLocale();
112
113
// Customize the font of the axis labels
114
chart.axis().labels().fontFamily("Cinzel");
115
116
// Configure the chart's title
117
chart.title({
118
text: "Roman Civilization",
119
fontFamily: "Cinzel",
120
fontSize: 32
121
});
122
123
// Specify the chart container element by its id
124
chart.container("container");
125
126
// Draw the chart
127
chart.draw();
128
129
});
130
131
// Function to zoom into the target period when a button is clicked
132
function zoomTo(period) {
133
switch (period) {
134
case "kingdom":
135
chart.zoomTo(Date.UTC(-755), Date.UTC(-505));
136
break
137
case "republic":
138
chart.zoomTo(Date.UTC(-515), Date.UTC(-20));
139
break
140
case "empire":
141
chart.zoomTo(Date.UTC(-40), Date.UTC(410));
142
break
143
case "empires":
144
chart.zoomTo(Date.UTC(380), Date.UTC(1460));
145
break
146
}
147
};
148
149
// Function to zoom out, fitting the chart to the container
150
function zoomOut() {
151
chart.fit();
152
};
153
154
// Function to add data for the timeline chart:
155
function loadData(){
156
157
// 1) Add periods (ranges):
158
var periods = [{}];
159
160
// legendaries' years of life
161
periods[0] = {};
162
periods[0].name = "Legendary";
163
periods[0].direction = "up";
164
periods[0].ranges = [
165
{
166
name: "Romulus",
167
start: new Date(Date.UTC(-753, 0, 0)),
168
end: new Date(Date.UTC(-717, 0, 0)),
169
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Brogi%2C_Carlo_%281850-1925%29_-_n._8226_-_Certosa_di_Pavia_-_Medaglione_sullo_zoccolo_della_facciata.jpg/250px-Brogi%2C_Carlo_%281850-1925%29_-_n._8226_-_Certosa_di_Pavia_-_Medaglione_sullo_zoccolo_della_facciata.jpg",
170
description: "The legendary founder and first king of Rome, who established the city's foundations."
171
},
172
{
173
name: "Numa Pompilius",
174
start: new Date(Date.UTC(-717, 0, 0)),
175
end: new Date(Date.UTC(-673, 0, 0)),
176
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Numapisocng6371obverse.jpg/220px-Numapisocng6371obverse.jpg",
177
description: "Rome's second king, known for instituting religious and legal traditions."
178
},
179
{
180
name: "Tullus Hostilius",
181
start: new Date(Date.UTC(-673, 0, 0)),
182
end: new Date(Date.UTC(-641, 0, 0)),
183
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Tulius-Hostilius.jpg/220px-Tulius-Hostilius.jpg",
184
description: "Rome's third king, a warrior who expanded Rome through conquest."
185
},
186
{
187
name: "Ancus Marcius",
188
start: new Date(Date.UTC(-641, 0, 0)),
189
end: new Date(Date.UTC(-616, 0, 0)),
190
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Ancusmarciuscng10300642obverse.jpg/250px-Ancusmarciuscng10300642obverse.jpg",
191
description: "The fourth king, credited with developing Rome's infrastructure and expanding its territory."
192
},
193
{
194
name: "Lucius Tarquinius Priscus",
195
start: new Date(Date.UTC(-616, 0, 0)),
196
end: new Date(Date.UTC(-578, 0, 0)),
197
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Tarquinius-Priscus.jpg/220px-Tarquinius-Priscus.jpg",
198
description: "Rome's fifth king, of Etruscan origin, who improved the city's military and infrastructure."
199
},
200
{
201
name: "Servius Tullius",
202
start: new Date(Date.UTC(-578, 0, 0)),
203
end: new Date(Date.UTC(-534, 0, 0)),
204
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Servius_by_Rouille.jpg/220px-Servius_by_Rouille.jpg",
205
description: "The sixth king, known for social and military reforms, including the introduction of the census."
206
},
207
{
208
name: "Lucius Tarquinius Superbus",
209
start: new Date(Date.UTC(-534, 0, 0)),
210
end: new Date(Date.UTC(-509, 0, 0)),
211
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Tarquinius-Superbus.jpg/220px-Tarquinius-Superbus.jpg",
212
description: "The seventh and final king, whose tyranny led to the overthrow of the monarchy and the founding of the Republic."
213
}
214
];
215
216
// consuls' years of rule
217
periods[1] = {};
218
periods[1].name = "Consuls";
219
periods[1].direction = "up";
220
periods[1].ranges = [
221
{
222
name: "Consulate",
223
start: new Date(Date.UTC(-509, 0, 0)),
224
end: new Date(Date.UTC(-27, 0, 16)),
225
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/98/Roman_SPQR_banner.svg/150px-Roman_SPQR_banner.svg.png",
226
description: "Consuls were elected annually, and the position was often shared by two individuals, making it difficult to track the exact reign periods for all consuls over the centuries."
227
}
228
];
229
230
// emperors' years of life
231
periods[2] = {};
232
periods[2].name = "Emperors";
233
periods[2].direction = "up";
234
periods[2].ranges = [
235
{
236
name: "Augustus",
237
start: new Date(Date.UTC(-27, 0, 16)),
238
end: new Date("0014-08-19"),
239
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Augustus_of_Prima_Porta_%28inv._2290%29.jpg/250px-Augustus_of_Prima_Porta_%28inv._2290%29.jpg",
240
description: "First Roman emperor, marking the transition from the Roman Republic to the Empire."
241
},
242
{
243
name: "Tiberius",
244
start: new Date("0014-09-17"),
245
end: new Date("0037-03-16"),
246
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/%28Toulouse%29_Tibère_-_Musée_Saint-Raymond_Ra_342_b.jpg/220px-%28Toulouse%29_Tibère_-_Musée_Saint-Raymond_Ra_342_b.jpg",
247
description: "Second emperor of Rome, known for his troubled reign and later withdrawal from public life."
248
},
249
{
250
name: "Caligula",
251
start: new Date("0037-03-18"),
252
end: new Date("0041-01-24"),
253
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Caligula.Carlsberg_Glyptotek.%28cropped%29.jpg/220px-Caligula.Carlsberg_Glyptotek.%28cropped%29.jpg",
254
description: "Notorious for his erratic and tyrannical behavior, assassinated after four years in power."
255
},
256
{
257
name: "Claudius",
258
start: new Date("0041-01-24"),
259
end: new Date("0054-10-13"),
260
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Claudius_crop.jpg/220px-Claudius_crop.jpg",
261
description: "Expanded the Roman Empire, including the conquest of Britain, despite initial perceptions of weakness."
262
},
263
{
264
name: "Nero",
265
start: new Date("0054-10-13"),
266
end: new Date("0068-06-09"),
267
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Nero_Glyptothek_Munich_321.jpg/220px-Nero_Glyptothek_Munich_321.jpg",
268
description: "Last of the Julio-Claudian dynasty, remembered for the Great Fire of Rome and his persecution of Christians."
269
},
270
{
271
name: "Galba",
272
start:new Date("0068-06-08"),
273
end: new Date("0069-01-15"),
274
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/INC-2951-a_Ауреус._Гальба._Ок._68—69_гг._%28аверс%29.png/220px-INC-2951-a_Ауреус._Гальба._Ок._68—69_гг._%28аверс%29.png",
275
description: "Briefly ruled during the Year of the Four Emperors, overthrown and murdered."
276
},
277
{
278
name: "Otho",
279
start: new Date("0069-01-15"),
280
end: new Date("0069-04-16"),
281
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Statue_of_the_emperor_Otho%2C_Ma_1215_%28cropped1%29.jpg/240px-Statue_of_the_emperor_Otho%2C_Ma_1215_%28cropped1%29.jpg",
282
description: "Reigned for only a few months before committing suicide after losing a battle."
283
},
284
{
285
name: "Vitellius",
286
start: new Date("0069-04-19"),
287
end: new Date("0069-12-20"),
288
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Tunis_Bardo_Buste_8.jpg/250px-Tunis_Bardo_Buste_8.jpg",
289
description: "Another short-lived emperor of the Year of the Four Emperors, overthrown by Vespasian."
290
},
291
{
292
name: "Vespasian",
293
start: new Date("0069-07-01"),
294
end: new Date("0079-06-23"),
295
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Vespasian%2C_from_Naples%2C_c._AD_70%2C_Ny_Carlsberg_Glyptotek%2C_Copenhagen_%2813646730625%29.jpg/220px-Vespasian%2C_from_Naples%2C_c._AD_70%2C_Ny_Carlsberg_Glyptotek%2C_Copenhagen_%2813646730625%29.jpg",
296
description: "Founder of the Flavian dynasty, known for restoring stability after the civil wars and beginning the construction of the Colosseum."
297
},
298
{
299
name: "Titus",
300
start: new Date("0079-06-24"),
301
end: new Date("0081-09-13"),
302
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Titus_Ny_Carlsberg_Glyptotek_IN3159.jpg/220px-Titus_Ny_Carlsberg_Glyptotek_IN3159.jpg",
303
description: "Remembered for completing the Colosseum and responding to the eruption of Mount Vesuvius."
304
},
305
{
306
name: "Domitian",
307
start: new Date("0081-09-14"),
308
end: new Date("0096-09-18"),
309
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Domiziano_da_collezione_albani%2C_fine_del_I_sec._dc._02.JPG/220px-Domiziano_da_collezione_albani%2C_fine_del_I_sec._dc._02.JPG",
310
description: "Last emperor of the Flavian dynasty, known for his autocratic rule and assassination."
311
},
312
{
313
name: "Nerva",
314
start: new Date("0096-09-18"),
315
end: new Date("0098-01-27"),
316
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Togato%2C_I_sec_dc._con_testa_di_restauro_da_un_ritratto_di_nerva%2C_inv._2286.JPG/220px-Togato%2C_I_sec_dc._con_testa_di_restauro_da_un_ritratto_di_nerva%2C_inv._2286.JPG",
317
description: "Began the tradition of adopting an heir, starting the era of the Five Good Emperors."
318
},
319
{
320
name: "Trajan",
321
start: new Date("0098-01-28"),
322
end: new Date(Date.UTC(117, 7, 9)),
323
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Traianus_Glyptothek_Munich_336.jpg/220px-Traianus_Glyptothek_Munich_336.jpg",
324
description: "Expanded the empire to its greatest territorial extent, known for public works and military conquests."
325
},
326
{
327
name: "Hadrian",
328
start: new Date(Date.UTC(117, 7, 11)),
329
end: new Date(Date.UTC(138, 6, 10)),
330
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/München_SMAEK_2019-03-23n.jpg/220px-München_SMAEK_2019-03-23n.jpg",
331
description: "Famous for consolidating and securing the empire's borders, including the construction of Hadrian's Wall."
332
},
333
{
334
name: "Antoninus Pius",
335
start: new Date(Date.UTC(138, 6, 10)),
336
end: new Date(Date.UTC(161, 2, 7)),
337
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Antoninus_Pius_Glyptothek_Munich_337_cropped.jpg/220px-Antoninus_Pius_Glyptothek_Munich_337_cropped.jpg",
338
description: "Presided over one of the most peaceful and prosperous periods in Roman history."
339
},
340
{
341
name: "Marcus Aurelius",
342
start: new Date(Date.UTC(161, 2, 7)),
343
end: new Date(Date.UTC(180, 1, 17)),
344
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/MSR-ra-61-b-1-DM.jpg/220px-MSR-ra-61-b-1-DM.jpg",
345
description: "Philosopher-king, known for his writings 'Meditations' and for defending the empire against invasions."},
346
{
347
name: "Commodus",
348
start: new Date(Date.UTC(180, 3, 17)),
349
end: new Date(Date.UTC(192, 11, 31)),
350
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/Bust_of_Emperor_Commodus%2C_front_-_Getty_Museum_%2892.SA.48%29.jpg/220px-Bust_of_Emperor_Commodus%2C_front_-_Getty_Museum_%2892.SA.48%29.jpg",
351
description: "Son of Marcus Aurelius, known for his erratic behavior and self-indulgence, marking the start of Rome’s decline."
352
},
353
{
354
name: "Pertinax",
355
start: new Date(Date.UTC(193, 0, 1)),
356
end: new Date(Date.UTC(193, 2, 28)),
357
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/Galleria_degli_Uffizi%2C_Florence_%2819676748662%29.jpg/220px-Galleria_degli_Uffizi%2C_Florence_%2819676748662%29.jpg",
358
description: "Brief reign ended by assassination, having tried to restore discipline after Commodus’ excesses."
359
},
360
{
361
name: "Didius Julianus",
362
start: new Date(Date.UTC(193, 2, 28)),
363
end: new Date(Date.UTC(193, 5, 1)),
364
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/Buste_de_Didius_Iulianus_02_%28crop%29.jpeg/220px-Buste_de_Didius_Iulianus_02_%28crop%29.jpeg",
365
description: "Won the throne by purchasing it, ruling for only a few months before being overthrown."
366
},
367
{
368
name: "Septimius Severus",
369
start: new Date(Date.UTC(193, 5, 9)),
370
end: new Date(Date.UTC(211, 1, 4)),
371
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/Septimius_Severus_busto-Musei_Capitolini.jpg/220px-Septimius_Severus_busto-Musei_Capitolini.jpg",
372
description: "Founded the Severan dynasty, restored stability after the Year of the Five Emperors."
373
},
374
{
375
name: "Caracalla",
376
start: new Date(Date.UTC(211, 1, 4)),
377
end: new Date(Date.UTC(217, 3, 8)),
378
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/0_Caracalla_-_Museo_Massimo_alle_Terme.JPG/220px-0_Caracalla_-_Museo_Massimo_alle_Terme.JPG",
379
description: "Known for the Edict of Caracalla, granting citizenship to all free men in the empire, and for his brutal reign."
380
},
381
{
382
name: "Geta",
383
start: new Date(Date.UTC(211, 1, 4)),
384
end: new Date(Date.UTC(211, 11, 26)),
385
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Geta_%28cropped%29.jpg/150px-Geta_%28cropped%29.jpg",
386
description: "Co-emperor with Caracalla, murdered by his brother as part of a power struggle."
387
},
388
{
389
name: "Macrinus",
390
start: new Date(Date.UTC(217, 3, 11)),
391
end: new Date(Date.UTC(218, 5, 8)),
392
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Bust_of_Macrinus_-_Palazzo_Nuovo_-_Musei_Capitolini_-_Rome_2016.jpg/220px-Bust_of_Macrinus_-_Palazzo_Nuovo_-_Musei_Capitolini_-_Rome_2016.jpg",
393
description: "First emperor not from the senatorial class, overthrown after only a year."
394
},
395
{
396
name: "Elagabalus",
397
start: new Date(Date.UTC(218, 4, 8)),
398
end: new Date(Date.UTC(222, 2, 11)),
399
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bust_of_Elagabalus_-_Palazzo_Nuovo_-_Musei_Capitolini_-_Rome_2016.jpg/220px-Bust_of_Elagabalus_-_Palazzo_Nuovo_-_Musei_Capitolini_-_Rome_2016.jpg",
400
description: "Known for religious controversies and eccentricities, assassinated by his own soldiers."
401
},
402
{
403
name: "Severus Alexander",
404
start: new Date(Date.UTC(222, 2, 14)),
405
end: new Date(Date.UTC(235, 2, 19)),
406
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Alexander_Severus_Musei_Capitolini_MC471.jpg/220px-Alexander_Severus_Musei_Capitolini_MC471.jpg",
407
description: "Last of the Severan dynasty, his assassination marked the beginning of the Crisis of the Third Century."
408
},
409
{
410
name: "Maximinus Thrax",
411
start: new Date(Date.UTC(235, 2, 20)),
412
end: new Date(Date.UTC(238, 5, 10)),
413
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Maximinus_Thrax_Musei_Capitolini_MC473.jpg/220px-Maximinus_Thrax_Musei_Capitolini_MC473.jpg",
414
description: "A giant in stature, his reign was marked by military campaigns and the start of the Third Century Crisis."
415
},
416
{
417
name: "Gordian I",
418
start: new Date(Date.UTC(238, 3, 22)),
419
end: new Date(Date.UTC(238, 4, 12)),
420
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Gordian1cng80000719_%28obverse%29.jpg/220px-Gordian1cng80000719_%28obverse%29.jpg",
421
description: "Ruled briefly during the Year of the Six Emperors, committed suicide after defeat in battle."
422
},
423
{
424
name: "Gordian II",
425
start: new Date(Date.UTC(238, 3, 22)),
426
end: new Date(Date.UTC(238, 4, 12)),
427
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Gordiano_II_-_ritratto_da_sesterzio.jpg/250px-Gordiano_II_-_ritratto_da_sesterzio.jpg",
428
description: "Co-emperor with his father Gordian I, died in battle against forces loyal to Maximinus Thrax."
429
},
430
{
431
name: "Pupienus",
432
start: new Date(Date.UTC(238, 4, 22)),
433
end: new Date(Date.UTC(238, 7, 29)),
434
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Pupienus_Musei_Capitolini_MC477.jpg/220px-Pupienus_Musei_Capitolini_MC477.jpg",
435
description: "Co-emperor during the Year of the Six Emperors, assassinated by the Praetorian Guard."
436
},
437
{
438
name: "Balbinus",
439
start: new Date(Date.UTC(238, 4, 22)),
440
end: new Date(Date.UTC(238, 7, 29)),
441
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Balbinus_Hermitage.jpg/220px-Balbinus_Hermitage.jpg",
442
description: "Co-emperor alongside Pupienus, murdered by the Praetorian Guard after a short reign."
443
},
444
{
445
name: "Gordian III",
446
start: new Date(Date.UTC(238, 7, 29)),
447
end: new Date(Date.UTC(244, 1, 11)),
448
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Bust_Gordianus_III_Louvre_Ma1063.jpg/220px-Bust_Gordianus_III_Louvre_Ma1063.jpg",
449
description: "Became emperor at age 13, remembered for campaigns against the Sassanid Empire."
450
},
451
{
452
name: "Philip the Arab",
453
start: new Date(Date.UTC(244, 1, 11)),
454
end: new Date(Date.UTC(249, 8, 25)),
455
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Portrait_of_Philip_the_Arab._Saint-Petersburg%2C_The_State_Hermitage_Museum_%28cropped%29.jpg/220px-Portrait_of_Philip_the_Arab._Saint-Petersburg%2C_The_State_Hermitage_Museum_%28cropped%29.jpg",
456
description: "Known for celebrating Rome's 1000th anniversary, his reign ended in defeat and death in battle."
457
},
458
{
459
name: "Decius",
460
start: new Date(Date.UTC(249, 8, 25)),
461
end: new Date(Date.UTC(251, 5, 1)),
462
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Bust_of_Decius_%28loan_from_Capitoline_Museums%29_-_Glyptothek_-_Munich_-_Germany_2017.jpg/220px-Bust_of_Decius_%28loan_from_Capitoline_Museums%29_-_Glyptothek_-_Munich_-_Germany_2017.jpg",
463
description: "Known for initiating the first empire-wide persecution of Christians, died in battle against the Goths."
464
},
465
{
466
name: "Trebonianus Gallus",
467
start: new Date(Date.UTC(251, 5, 1)),
468
end: new Date(Date.UTC(253, 7, 1)),
469
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Bronze_statue_of_the_emperor_Trebonianus_Gallus_%28detail%29.jpg/220px-Bronze_statue_of_the_emperor_Trebonianus_Gallus_%28detail%29.jpg",
470
description: "Faced invasions and plague during his short reign, eventually assassinated by his own troops."
471
},
472
{
473
name: "Aemilian",
474
start: new Date(Date.UTC(253, 6, 1)),
475
end: new Date(Date.UTC(253, 8, 25)),
476
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Aemilian1.jpg/220px-Aemilian1.jpg",
477
description: "Briefly seized power through military revolt but was quickly overthrown and killed."
478
},
479
{
480
name: "Valerian",
481
start: new Date(Date.UTC(253, 8, 25)),
482
end: new Date(Date.UTC(260, 5, 22)),
483
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Valerianus_Ny_Carlsberg_Glyptotek_IN3387.jpg/220px-Valerianus_Ny_Carlsberg_Glyptotek_IN3387.jpg",
484
description: "Captured by the Persians in battle, the only Roman emperor to die in captivity."
485
},
486
{
487
name: "Gallienus",
488
start: new Date(Date.UTC(253, 8, 1)),
489
end: new Date(Date.UTC(268, 8, 23)),
490
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Ritratto_di_gallieno_dalla_casa_delle_vestali.jpg/220px-Ritratto_di_gallieno_dalla_casa_delle_vestali.jpg",
491
description: "Co-ruled with his father Valerian, spent his reign defending the empire from invasions and internal strife."
492
},
493
{
494
name: "Claudius Gothicus",
495
start: new Date(Date.UTC(268, 8, 23)),
496
end: new Date(Date.UTC(270, 7, 27)),
497
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/ClaudiusGothicusSC265569.jpg/220px-ClaudiusGothicusSC265569.jpg",
498
description: "Famed for his victories against the Goths, died from the plague during his reign."
499
},
500
{
501
name: "Quintillus",
502
start: new Date(Date.UTC(270, 7, 27)),
503
end: new Date(Date.UTC(270, 8, 20)),
504
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Aureus_Quintillus_%28obverse%29.jpg/250px-Aureus_Quintillus_%28obverse%29.jpg",
505
description: "Brief reign, likely murdered or committed suicide after being declared emperor."
506
},
507
{
508
name: "Aurelian",
509
start: new Date(Date.UTC(270, 7, 20)),
510
end: new Date(Date.UTC(275, 10, 25)),
511
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/5305_-_Brescia_-_S._Giulia_-_Ritratto_di_Claudio_II_il_Gotico_-_Foto_Giovanni_Dall%27Orto%2C_25_Giu_2011.jpg/250px-5305_-_Brescia_-_S._Giulia_-_Ritratto_di_Claudio_II_il_Gotico_-_Foto_Giovanni_Dall%27Orto_25_Giu_2011.jpg",
512
description: "Reunited the fractured empire, built the Aurelian Walls around Rome, assassinated by his own officers."
513
},
514
{
515
name: "Tacitus",
516
start: new Date(Date.UTC(275, 11, 25)),
517
end: new Date(Date.UTC(276, 5, 11)),
518
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/EmpereurTacite.jpg/220px-EmpereurTacite.jpg",
519
description: "Declared emperor by the Senate, died after ruling for less than a year, likely from assassination."
520
},
521
{
522
name: "Probus",
523
start: new Date(Date.UTC(276, 5, 19)),
524
end: new Date(Date.UTC(282, 8, 25)),
525
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Probus_Musei_Capitolini_MC493.jpg/220px-Probus_Musei_Capitolini_MC493.jpg",
526
description: "Successfully defended the empire from multiple invasions, killed by his own soldiers."
527
},
528
{
529
name: "Carus",
530
start: new Date(Date.UTC(282, 8, 25)),
531
end: new Date(Date.UTC(283, 7, 1)),
532
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Carusinc2955obverse.png/220px-Carusinc2955obverse.png",
533
description: "Died mysteriously during a campaign against Persia, possibly struck by lightning."
534
},
535
{
536
name: "Numerian",
537
start: new Date(Date.UTC(283, 6, 1)),
538
end: new Date(Date.UTC(284, 10, 20)),
539
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/NumerianusAntoninianus.jpg/220px-NumerianusAntoninianus.jpg",
540
description: "Co-emperor with his brother, died under mysterious circumstances, possibly assassinated."
541
},
542
{
543
name: "Carinus",
544
start: new Date(Date.UTC(283, 8, 1)),
545
end: new Date(Date.UTC(285, 8, 1)),
546
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Montemartini_-_Carino_1030439.JPG/220px-Montemartini_-_Carino_1030439.JPG",
547
description: "Last of the Caran dynasty, assassinated after losing a battle during the chaotic third century."
548
},
549
{
550
name: "Diocletian",
551
start: new Date(Date.UTC(284, 10, 20)),
552
end: new Date(Date.UTC(305, 4, 1)),
553
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Istanbul_-_Museo_archeol._-_Diocleziano_%28284-305_d.C.%29_-_Foto_G._Dall%27Orto_28-5-2006_%28cropped%29.jpg/220px-Istanbul_-_Museo_archeol._-_Diocleziano_%28284-305_d.C.%29_-_Foto_G._Dall%27Orto_28-5-2006_%28cropped%29.jpg",
554
description: "Stabilized the empire and introduced significant reforms, including the Tetrarchy, before retiring."
555
},
556
{
557
name: "Maximian",
558
start: new Date(Date.UTC(286, 3, 1)),
559
end: new Date(Date.UTC(305, 4, 1)),
560
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Musée_Saint-Raymond_-_2017-09-02_-_Inv._Ra_34b_-_4654.jpg/220px-Musée_Saint-Raymond_-_2017-09-02_-_Inv._Ra_34b_-_4654.jpg",
561
description: "Co-emperor with Diocletian, helped defend the western empire, forced to retire when Diocletian did."
562
},
563
{
564
name: "Constantius Chlorus",
565
start: new Date(Date.UTC(305, 4, 1)),
566
end: new Date(Date.UTC(306, 6, 25)),
567
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Constantius_Chlorus_Ny_Carlsberg_Glyptotek_IN836.jpg/220px-Constantius_Chlorus_Ny_Carlsberg_Glyptotek_IN836.jpg",
568
description: "Father of Constantine the Great, co-ruled in the West under the Tetrarchy, died while campaigning in Britain."
569
},
570
{
571
name: "Galerius",
572
start: new Date(Date.UTC(305, 4, 1)),
573
end: new Date(Date.UTC(311, 4, 5)),
574
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Romuliana_Galerius_head.jpg/220px-Romuliana_Galerius_head.jpg",
575
description: "Known for his role in the persecution of Christians and as part of Diocletian’s Tetrarchy, later issued the Edict of Toleration."
576
},
577
{
578
name: "Constantine the Great",
579
start: new Date(Date.UTC(306, 6, 25)),
580
end: new Date(Date.UTC(337, 4, 22)),
581
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Statua_di_Costantino_ai_musei_capitolini.jpg/220px-Statua_di_Costantino_ai_musei_capitolini.jpg",
582
description: "First Christian emperor, known for the Edict of Milan and the founding of Constantinople."
583
},
584
{
585
name: "Maxentius",
586
start: new Date(Date.UTC(306, 9, 28)),
587
end: new Date(Date.UTC(312, 9, 28)),
588
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Maxentius02_pushkin.jpg/220px-Maxentius02_pushkin.jpg",
589
description: "Defeated by Constantine at the Battle of the Milvian Bridge, marking Constantine’s rise to power."
590
},
591
{
592
name: "Licinius",
593
start: new Date(Date.UTC(308, 10, 11)),
594
end: new Date(Date.UTC(324, 8, 19)),
595
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Bust_of_Licinius%2C_Kunsthistorisches_Museum.jpg/220px-Bust_of_Licinius%2C_Kunsthistorisches_Museum.jpg",
596
description: "Co-emperor with Constantine, defeated in civil war after conflicts over religious policies."
597
},
598
{
599
name: "Constantine II",
600
start: new Date(Date.UTC(337, 8, 9)),
601
end: new Date(Date.UTC(340, 3, 9)),
602
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Campidoglio%2C_Roma_-_Costantino_II_cesare_fronte.jpg/220px-Campidoglio%2C_Roma_-_Costantino_II_cesare_fronte.jpg",
603
description: "Eldest son of Constantine the Great, ruled parts of the empire, died in battle against his brother Constans."
604
},
605
{
606
name: "Constantius II",
607
start: new Date(Date.UTC(337, 8, 9)),
608
end: new Date(Date.UTC(361, 11, 3)),
609
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/Bust_of_Constantius_II_%28Mary_Harrsch%29.jpg/220px-Bust_of_Constantius_II_%28Mary_Harrsch%29.jpg",
610
description: "Son of Constantine the Great, known for his conflicts with his brothers and his support for Arian Christianity."
611
},
612
{
613
name: "Constans",
614
start: new Date(Date.UTC(337, 8, 9)),
615
end: new Date(Date.UTC(350, 1, 18)),
616
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Musée_du_Louvre_-_L%27empereur_Constant_%28Ma_1021%29.jpg/220px-Musée_du_Louvre_-_L%27empereur_Constant_%28Ma_1021%29.jpg",
617
description: "Youngest son of Constantine the Great, overthrown and killed by the usurper Magnentius."
618
},
619
{
620
name: "Julian",
621
start: new Date(Date.UTC(361, 10, 3)),
622
end: new Date(Date.UTC(363, 5, 26)),
623
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Juliancng8851obverse.jpg/220px-Juliancng8851obverse.jpg",
624
description: "Last pagan emperor, known for trying to restore Roman polytheism and his military campaigns against Persia."
625
},
626
{
627
name: "Jovian",
628
start: new Date(Date.UTC(363, 5, 27)),
629
end: new Date(Date.UTC(364, 1, 17)),
630
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Solidus_of_Jovian2_%28obverse%29.jpg/220px-Solidus_of_Jovian2_%28obverse%29.jpg",
631
description: "Brief reign after the death of Julian, known for restoring Christianity as the state religion."
632
},
633
{
634
name: "Valentinian I",
635
start: new Date(Date.UTC(364, 1, 26)),
636
end: new Date(Date.UTC(375, 10, 17)),
637
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Gold_Solidus_of_Valens%2C_Antioch.jpg/220px-Gold_Solidus_of_Valens%2C_Antioch.jpg",
638
description: "Co-emperor with his brother Valens, known for defending the western empire from invasions."
639
},
640
{
641
name: "Valens",
642
start: new Date(Date.UTC(364, 2, 26)),
643
end: new Date(Date.UTC(378, 7, 9)),
644
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/INC-3015-a_Солид._Валент_II._Ок._364_г._%28аверс%29.png/220px-INC-3015-a_Солид._Валент_II._Ок._364_г._%28аверс%29.png",
645
description: "Eastern emperor defeated and killed at the Battle of Adrianople, marking a critical moment in the decline of Rome."
646
},
647
{
648
name: "Gratian",
649
start: new Date(Date.UTC(367, 10, 17)),
650
end: new Date(Date.UTC(383, 7, 25)),
651
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/Bust_of_Gratian_%28loan_from_Rheinisches_Landesmuseum_Trier%29_-_Glyptothek_-_Munich_-_Germany_2017.jpg/220px-Bust_of_Gratian_%28loan_from_Rheinisches_Landesmuseum_Trier%29_-_Glyptothek_-_Munich_-_Germany_2017.jpg",
652
description: "Faced revolts and invasions, assassinated after his rule weakened by internal divisions and usurpers."
653
},
654
{
655
name: "Valentinian II",
656
start: new Date(Date.UTC(375, 7, 28)),
657
end: new Date(Date.UTC(392, 4, 15)),
658
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Statue_of_emperor_Valentinian_II.JPG/220px-Statue_of_emperor_Valentinian_II.JPG",
659
description: "Ruled the western empire as a child, likely murdered during political struggles for control."
660
},
661
{
662
name: "Eugenius",
663
start: new Date(Date.UTC(392, 7, 22)),
664
end: new Date(Date.UTC(394, 8, 6)),
665
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/07/Eugenius_coin_%28transparent%29.png/150px-Eugenius_coin_%28transparent%29.png",
666
description: "A usurper supported by the Roman Senate, defeated by Theodosius I at the Battle of the Frigidus."
667
},
668
{
669
name: "Theodosius I",
670
start: new Date(Date.UTC(379, 0, 19)),
671
end: new Date(Date.UTC(395, 0, 17)),
672
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Bust_of_Theodosius_I.jpg/220px-Bust_of_Theodosius_I.jpg",
673
description: "Last emperor to rule both the eastern and western halves of the empire, made Christianity the official state religion."
674
},
675
{
676
name: "Arcadius",
677
start: new Date(Date.UTC(395, 0, 17)),
678
end: new Date(Date.UTC(408, 4, 1)),
679
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Arcadius_Istanbul_Museum.JPG/220px-Arcadius_Istanbul_Museum.JPG",
680
description: "First emperor of the Eastern Roman Empire, known for a reign dominated by court intrigues and external threats."
681
},
682
{
683
name: "Honorius",
684
start: new Date(Date.UTC(395, 0, 17)),
685
end: new Date(Date.UTC(423, 7, 15)),
686
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Diptych_of_Honorius_%28head%29_%282%29.jpg/220px-Diptych_of_Honorius_%28head%29_%282%29.jpg",
687
description: "Western Roman emperor during the Sack of Rome by the Visigoths, known for his weak rule and reliance on military leaders."
688
},
689
{
690
name: "Theodosius II",
691
start: new Date(Date.UTC(408, 4, 1)),
692
end: new Date(Date.UTC(450, 6, 28)),
693
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Theodosius_II_Louvre_Ma1036.jpg/220px-Theodosius_II_Louvre_Ma1036.jpg",
694
description: "Known for issuing the Theodosian Code and for his long, relatively peaceful reign over the Eastern Roman Empire."
695
},
696
{
697
name: "Constantius III",
698
start: new Date(Date.UTC(421, 1, 8)),
699
end: new Date(Date.UTC(421, 8, 2)),
700
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/86/Constantius_III_diptych.jpg/220px-Constantius_III_diptych.jpg",
701
description: "Briefly co-emperor with Honorius, a successful general instrumental in defending the Western Empire from invasions."
702
},
703
{
704
name: "Valentinian III",
705
start: new Date(Date.UTC(425, 9, 23)),
706
end: new Date(Date.UTC(455, 2, 16)),
707
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Bust_of_Valentinian_III%2C_Louvre_%28cropped%29.jpg/250px-Bust_of_Valentinian_III%2C_Louvre_%28cropped%29.jpg",
708
description: "Reigned during the decline of the Western Roman Empire, assassinated shortly before Rome’s sacking by the Vandals."
709
},
710
{
711
name: "Marcian",
712
start: new Date(Date.UTC(450, 7, 25)),
713
end: new Date(Date.UTC(457, 0, 27)),
714
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Gold_Solidus_of_Marcian.jpg/250px-Gold_Solidus_of_Marcian.jpg",
715
description: "Eastern Roman emperor who called the Council of Chalcedon, ending the theological disputes over Christ’s nature."
716
},
717
{
718
name: "Petronius Maximus",
719
start: new Date(Date.UTC(455, 2, 17)),
720
end: new Date(Date.UTC(455, 4, 31)),
721
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Solidus_of_Petronius_Maximus.png/150px-Solidus_of_Petronius_Maximus.png",
722
description: "A short-lived ruler of the Western Roman Empire, killed during chaos that led to the Vandal sack of Rome."
723
},
724
{
725
name: "Avitus",
726
start: new Date(Date.UTC(455, 6, 9)),
727
end: new Date(Date.UTC(456, 9, 17)),
728
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Solidus_Avitus_Arles_%28obverse%29.jpg/150px-Solidus_Avitus_Arles_%28obverse%29.jpg",
729
description: "A Gallic senator made emperor by the Visigoths, deposed after his defeat in battle against the Vandals."
730
},
731
{
732
name: "Majorian",
733
start: new Date(Date.UTC(457, 3, 1)),
734
end: new Date(Date.UTC(461, 6, 2)),
735
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Solidus_Majorian_Arles_%28obverse%29.jpg/150px-Solidus_Majorian_Arles_%28obverse%29.jpg",
736
description: "One of the last capable Western Roman emperors, known for his military efforts to defend the empire but ultimately deposed and assassinated."
737
},
738
{
739
name: "Libius Severus",
740
start: new Date(Date.UTC(461, 10, 19)),
741
end: new Date(Date.UTC(465, 7, 15)),
742
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Libiusseverus01854obverse.jpg/150px-Libiusseverus01854obverse.jpg",
743
description: "A puppet emperor of the Western Roman Empire under the control of the powerful general Ricimer."
744
},
745
{
746
name: "Anthemius",
747
start: new Date(Date.UTC(467, 3, 12)),
748
end: new Date(Date.UTC(472, 6, 11)),
749
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Gold_Solidus_of_Marcian.jpg/250px-Gold_Solidus_of_Marcian.jpg",
750
description: "Western Roman emperor with Greek origins, known for his failed attempt to repel the Vandals and his eventual assassination."
751
},
752
{
753
name: "Olybrius",
754
start: new Date(Date.UTC(472, 6, 11)),
755
end: new Date(Date.UTC(472, 10, 2)),
756
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Tremissis_Olybrius_%28obverse%29.jpg/150px-Tremissis_Olybrius_%28obverse%29.jpg",
757
description: "A brief reign as emperor, likely installed by the powerful military leader Ricimer, died soon after ascending to the throne."
758
},
759
{
760
name: "Glycerius",
761
start: new Date(Date.UTC(473, 2, 3)),
762
end: new Date(Date.UTC(474, 4, 6)),
763
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/Solidus_Glycerius_Ravenna_%28obverse%29.jpg/150px-Solidus_Glycerius_Ravenna_%28obverse%29.jpg",
764
description: "Declared emperor by the Roman Senate, deposed by Julius Nepos, later served as a bishop."
765
},
766
{
767
name: "Julius Nepos",
768
start: new Date(Date.UTC(474, 4, 19)),
769
end: new Date(Date.UTC(475, 7, 28)),
770
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Solidus_of_Julius_Nepos.png/150px-Solidus_of_Julius_Nepos.png",
771
description: "Last legitimate emperor of the Western Roman Empire, overthrown by Orestes and Romulus Augustulus, later ruled from Dalmatia."
772
},
773
{
774
name: "Romulus Augustulus",
775
start: new Date(Date.UTC(475, 9, 31)),
776
end: new Date(Date.UTC(476, 8, 4)),
777
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/RomulusAugustus.jpg/150px-RomulusAugustus.jpg",
778
description: "The last emperor of the Western Roman Empire, deposed by Odoacer, marking the traditional end of the Western Empire."
779
},
780
{
781
name: "Leo I",
782
start: new Date(Date.UTC(457, 1, 7)),
783
end: new Date(Date.UTC(474, 0, 18)),
784
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Leo_I_Louvre_Ma1012_n2_%28cropped%29.jpg/220px-Leo_I_Louvre_Ma1012_n2_%28cropped%29.jpg",
785
description: "Known as 'Leo the Great,' reformed the Eastern Roman military and administration, and fostered Byzantine independence from the West."
786
},
787
{
788
name: "Leo II",
789
start: new Date(Date.UTC(474, 0, 18)),
790
end: new Date(Date.UTC(474, 10, 17)),
791
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Solidus_of_Leo_II.png/220px-Solidus_of_Leo_II.png",
792
description: "Grandson of Leo I, reigned briefly as a child emperor before dying young, with power mostly held by his father, Zeno."
793
},
794
{
795
name: "Zeno",
796
start: new Date(Date.UTC(474, 0, 9)),
797
end: new Date(Date.UTC(475, 0, 9)),
798
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Semissis_of_Zeno.png/250px-Semissis_of_Zeno.png",
799
description: "Initially emperor of the Eastern Roman Empire, deposed during a rebellion but later restored to power."
800
},
801
{
802
name: "Basiliscus",
803
start: new Date(Date.UTC(475, 0, 9)),
804
end: new Date(Date.UTC(476, 7, 1)),
805
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Solidus_of_Basiliscus_and_Marcus.png/383px-Solidus_of_Basiliscus_and_Marcus.png",
806
description: "Seized the throne after a coup against Zeno, known for his disastrous policies and eventual overthrow."
807
},
808
{
809
name: "Zeno",
810
start: new Date(Date.UTC(476, 7, 1)),
811
end: new Date(Date.UTC(491, 3, 9)),
812
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Semissis_of_Zeno.png/250px-Semissis_of_Zeno.png",
813
description: "Regained the throne and ruled during the collapse of the Western Roman Empire, establishing greater stability in the East."
814
},
815
{
816
name: "Anastasius I",
817
start: new Date(Date.UTC(491, 3, 11)),
818
end: new Date(Date.UTC(518, 6, 9)),
819
img: "https://upload.wikimedia.org/wikipedia/commons/9/92/Flavius_Anastasius_Probus_01c_%28Anastasius_I%29_%28cropped%29.JPG",
820
description: "Reformed the tax system and finances of the Eastern Roman Empire, leading to increased prosperity."
821
},
822
{
823
name: "Justin I",
824
start: new Date(Date.UTC(518, 6, 10)),
825
end: new Date(Date.UTC(527, 7, 1)),
826
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Solidus_of_Justin_I_%28obverse%29.jpg/368px-Solidus_of_Justin_I_%28obverse%29.jpg",
827
description: "A former soldier who rose to power, strengthened relations with the papacy, and paved the way for his nephew, Justinian I."
828
},
829
{
830
name: "Justinian I",
831
start: new Date(Date.UTC(527, 4, 1)),
832
end: new Date(Date.UTC(565, 10, 14)),
833
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Mosaic_of_Justinianus_I_-_Basilica_San_Vitale_%28Ravenna%29.jpg/330px-Mosaic_of_Justinianus_I_-_Basilica_San_Vitale_%28Ravenna%29.jpg",
834
description: "One of the greatest Byzantine emperors, known for his legal reforms, military conquests, and the construction of the Hagia Sophia."
835
},
836
{
837
name: "Justin II",
838
start: new Date(Date.UTC(565, 10, 15)),
839
end: new Date(Date.UTC(578, 8, 5)),
840
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Solidus_of_Justin_II_%28obverse%29.jpg/330px-Solidus_of_Justin_II_%28obverse%29.jpg",
841
description: "Succeeded his uncle Justinian I, struggled to maintain the empire’s stability, leading to increasing invasions and internal strife."
842
},
843
{
844
name: "Tiberius II Constantine",
845
start: new Date(Date.UTC(578, 9, 5)),
846
end: new Date(Date.UTC(582, 7, 14)),
847
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Tiberios_II_%28obverse%29.jpg/338px-Tiberios_II_%28obverse%29.jpg",
848
description: "Continued Justin II's policies but proved more effective in managing finances and military threats from Persia and the Balkans."
849
},
850
{
851
name: "Maurice",
852
start: new Date(Date.UTC(582, 7, 14)),
853
end: new Date(Date.UTC(602, 10, 27)),
854
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Solidus_of_Maurice_%28transitional_issue%29.png/375px-Solidus_of_Maurice_%28transitional_issue%29.png",
855
description: "Expanded Byzantine control over the Balkans and fought successful campaigns against Persia before being overthrown and killed."
856
},
857
{
858
name: "Phocas",
859
start: new Date(Date.UTC(602, 10, 27)),
860
end: new Date(Date.UTC(610, 9, 5)),
861
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/PhocasNew.png/375px-PhocasNew.png",
862
description: "A brutal ruler who came to power through a military coup, his reign was marked by instability and harsh repression."
863
},
864
{
865
name: "Heraclius",
866
start: new Date(Date.UTC(610, 10, 5)),
867
end: new Date(Date.UTC(641, 2, 11)),
868
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Heraclius_solidus.jpg/330px-Heraclius_solidus.jpg",
869
description: "Transformed the Byzantine Empire by reforming its administration and military, and successfully fought against the Persian Empire."
870
},
871
{
872
name: "Constantine III",
873
start: new Date(Date.UTC(641, 2, 11)),
874
end: new Date(Date.UTC(641, 4, 24)),
875
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Solidus_of_Constantine_III_%28west%29.png/330px-Solidus_of_Constantine_III_%28west%29.png",
876
description: "Co-emperor with his father Heraclius, ruled briefly before dying, possibly due to illness or poisoning."
877
},
878
{
879
name: "Heraklonas",
880
start: new Date(Date.UTC(641, 2, 11)),
881
end: new Date(Date.UTC(641, 9, 14)),
882
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Solidus_Heraclius_sb_767_%28obverse%29.png/330px-Solidus_Heraclius_sb_767_%28obverse%29.png",
883
description: "Young son of Heraclius, deposed after only a few months in power during a turbulent period of political unrest."
884
},
885
{
886
name: "Constans II",
887
start: new Date(Date.UTC(641, 9, 14)),
888
end: new Date(Date.UTC(668, 7, 15)),
889
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Solidus_Constans_II_%28obverse%29.jpg/330px-Solidus_Constans_II_%28obverse%29.jpg",
890
description: "Faced significant challenges from external invasions and internal revolts, moved the capital to Sicily to evade threats."
891
},
892
{
893
name: "Constantine IV",
894
start: new Date(Date.UTC(668, 7, 15)),
895
end: new Date(Date.UTC(685, 9, 14)),
896
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Constantine_IV_mosaic.png/330px-Constantine_IV_mosaic.png",
897
description: "Successfully defended Constantinople against a major Arab siege, securing his legacy as a strong military leader."
898
},
899
{
900
name: "Justinian II",
901
start: new Date(Date.UTC(685, 9, 14)),
902
end: new Date(Date.UTC(695, 7, 21)),
903
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d1/Justinian_ii_%282%29.png/330px-Justinian_ii_%282%29.png",
904
description: "Known for his harsh rule and being overthrown twice, his reign marked a decline in Byzantine power and stability."
905
},
906
{
907
name: "Justinian II (Second Reign)",
908
start: new Date(Date.UTC(705, 8, 21)),
909
end: new Date(Date.UTC(711, 12, 11)),
910
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d1/Justinian_ii_%282%29.png/330px-Justinian_ii_%282%29.png",
911
description: "After regaining the throne, Justinian II's second reign was marked by continued autocratic rule and another revolt that led to his assassination."
912
},
913
{
914
name: "Philippicus Bardanes",
915
start: new Date(Date.UTC(711, 12, 11)),
916
end: new Date(Date.UTC(713, 6, 3)),
917
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Solidus_of_Philippicus.png/330px-Solidus_of_Philippicus.png",
918
description: "Overthrew Justinian II, but his reign was brief and tumultuous, ending with his deposition due to his religious policies."
919
},
920
{
921
name: "Anastasius II",
922
start: new Date(Date.UTC(713, 6, 4)),
923
end: new Date(Date.UTC(715, 12, 3)),
924
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Anastasius_II_sb1464_%28obverse%29.jpg/330px-Anastasius_II_sb1464_%28obverse%29.jpg",
925
description: "A reform-minded emperor, Anastasius II tried to stabilize the empire but was overthrown by military revolt after only two years."
926
},
927
{
928
name: "Theodosius III",
929
start: new Date(Date.UTC(715, 12, 4)),
930
end: new Date(Date.UTC(717, 3, 25)),
931
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Coin_of_Theodosius_III.png/330px-Coin_of_Theodosius_III.png",
932
description: "Reluctantly took the throne after a military rebellion but abdicated in favor of Leo III after a short and ineffective reign."
933
},
934
{
935
name: "Leo III",
936
start: new Date(Date.UTC(717, 3, 25)),
937
end: new Date(Date.UTC(741, 6, 18)),
938
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Solidus_of_Leo_III_sb1504.png/330px-Solidus_of_Leo_III_sb1504.png",
939
description: "Famous for defending Constantinople from Arab sieges and initiating the iconoclastic movement, which banned the use of religious icons."
940
},
941
{
942
name: "Constantine V",
943
start: new Date(Date.UTC(741, 6, 18)),
944
end: new Date(Date.UTC(775, 9, 14)),
945
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Solidus_of_Constantine_V_%28transparent_background%29.png/330px-Solidus_of_Constantine_V_%28transparent_background%29.png",
946
description: "A strong military leader and supporter of iconoclasm, Constantine V had significant military successes but faced opposition for his religious policies."
947
},
948
{
949
name: "Leo IV",
950
start: new Date(Date.UTC(775, 9, 14)),
951
end: new Date(Date.UTC(780, 9, 8)),
952
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Gold_Solidus_of_Leo_IV.jpg/375px-Gold_Solidus_of_Leo_IV.jpg",
953
description: "Known as 'Leo the Khazar,' he attempted to balance religious tensions but died young, leaving his son Constantine VI as heir."
954
},
955
{
956
name: "Constantine VI",
957
start: new Date(Date.UTC(780, 9, 8)),
958
end: new Date(Date.UTC(797, 8, 19)),
959
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/INC-3040-r_Солид._Константин_VI_и_Ирина._793—979_гг._%28реверс%29.png/330px-INC-3040-r_Солид._Константин_VI_и_Ирина._793—979_гг._%28реверс%29.png",
960
description: "Co-ruled with his mother, Irene, until he attempted to rule alone. His reign ended when Irene overthrew and blinded him."
961
},
962
{
963
name: "Irene of Athens",
964
start: new Date(Date.UTC(797, 8, 19)),
965
end: new Date(Date.UTC(802, 10, 31)),
966
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/Irene_solidus_sb_1599_%28obverse%29.jpg/330px-Irene_solidus_sb_1599_%28obverse%29.jpg",
967
description: "First woman to rule the Byzantine Empire, she restored the veneration of icons but was eventually deposed by Nikephoros I."
968
},
969
{
970
name: "Nikephoros I",
971
start: new Date(Date.UTC(802, 10, 31)),
972
end: new Date(Date.UTC(811, 7, 26)),
973
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/INC-1870-a_Солид._Никифор_I_и_его_сын_Ставракий._Ок._803—811_гг._%28аверс%29.png/300px-INC-1870-a_Солид._Никифор_I_и_его_сын_Ставракий._Ок._803—811_гг._%28аверс%29.png",
974
description: "Reformed the empire's finances but was killed in battle against the Bulgarians during a military campaign."
975
},
976
{
977
name: "Staurakios",
978
start: new Date(Date.UTC(811, 7, 26)),
979
end: new Date(Date.UTC(811, 10, 2)),
980
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/INC-1546-r_Солид_Никифор_I_и_Ставракий_ок._803-811_гг._%28аверс%29.png/375px-INC-1546-r_Солид_Никифор_I_и_Ставракий_ок._803-811_гг._%28аверс%29.png",
981
description: "Severely wounded in battle shortly after becoming emperor, Staurakios abdicated after a few months due to his injuries."
982
},
983
{
984
name: "Michael I Rangabe",
985
start: new Date(Date.UTC(811, 10, 2)),
986
end: new Date(Date.UTC(813, 7, 11)),
987
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Michael_I%2C_Madrid_Skylitzes_folio_11r.jpg/345px-Michael_I%2C_Madrid_Skylitzes_folio_11r.jpg",
988
description: "Supported the veneration of icons but was defeated by the Bulgarians and forced to abdicate after two years."
989
},
990
{
991
name: "Leo V",
992
start: new Date(Date.UTC(813, 7, 11)),
993
end: new Date(Date.UTC(820, 12, 25)),
994
img: "https://upload.wikimedia.org/wikipedia/commons/8/89/Leo_V_in_Madrid_Skylitzes.jpg",
995
description: "Revived iconoclasm and strengthened the empire's defenses, but was assassinated during Christmas services in 820."
996
},
997
{
998
name: "Michael II",
999
start: new Date(Date.UTC(820, 12, 25)),
1000
end: new Date(Date.UTC(829, 10, 2)),
1001
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Michael_II_in_the_Madrid_Skylitzes.jpg/330px-Michael_II_in_the_Madrid_Skylitzes.jpg",
1002
description: "Founder of the Amorian dynasty, he sought to reconcile the religious factions but faced rebellions and external threats."
1003
},
1004
{
1005
name: "Theophilos",
1006
start: new Date(Date.UTC(829, 10, 2)),
1007
end: new Date(Date.UTC(842, 1, 20)),
1008
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Theophilos_%28cropped%29.jpg/330px-Theophilos_%28cropped%29.jpg",
1009
description: "A fervent iconoclast and capable military leader, Theophilos fought wars against the Abbasids but died without securing a lasting victory."
1010
},
1011
{
1012
name: "Michael III",
1013
start: new Date(Date.UTC(842, 1, 20)),
1014
end: new Date(Date.UTC(867, 9, 24)),
1015
img: "https://upload.wikimedia.org/wikipedia/commons/0/0e/Michael_iii.jpg",
1016
description: "Known as 'Michael the Drunkard,' his reign saw the end of iconoclasm and the rise of Basil I, who eventually assassinated him."
1017
},
1018
{
1019
name: "Basil I",
1020
start: new Date(Date.UTC(867, 9, 24)),
1021
end: new Date(Date.UTC(886, 8, 29)),
1022
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Roman_Emperor_Basil_I.png/330px-Roman_Emperor_Basil_I.png",
1023
description: "Founder of the Macedonian dynasty, Basil I's reign saw significant reforms and the beginning of the Byzantine Renaissance in art and culture."
1024
},
1025
{
1026
name: "Leo VI",
1027
start: new Date(Date.UTC(886, 8, 29)),
1028
end: new Date(Date.UTC(912, 5, 11)),
1029
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/Emperor_Leo_VI_detail.jpg/375px-Emperor_Leo_VI_detail.jpg",
1030
description: "Known as 'Leo the Wise,' he codified Roman law in the 'Basilika' and continued the cultural revival of the empire."
1031
},
1032
{
1033
name: "Alexander",
1034
start: new Date(Date.UTC(912, 5, 11)),
1035
end: new Date(Date.UTC(913, 6, 6)),
1036
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Alexandros_mosaic.jpg/375px-Alexandros_mosaic.jpg",
1037
description: "Brother of Leo VI, Alexander's brief reign was marked by military failures and internal strife, leading to his sudden death."
1038
},
1039
{
1040
name: "Constantine VII",
1041
start: new Date(Date.UTC(913, 6, 6)),
1042
end: new Date(Date.UTC(959, 11, 9)),
1043
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7f/Constantine_VII_Porphyrogenitus_%282%29.jpeg/330px-Constantine_VII_Porphyrogenitus_%282%29.jpeg",
1044
description: "An intellectual emperor, Constantine VII was a historian and author who presided over a period of peace and cultural prosperity."
1045
},
1046
{
1047
name: "Romanos I",
1048
start: new Date(Date.UTC(920, 12, 17)),
1049
end: new Date(Date.UTC(944, 12, 16)),
1050
img: "https://upload.wikimedia.org/wikipedia/commons/5/56/Romanos_I_in_Madrid_Skylitzes.jpg",
1051
description: "Romanos I ruled as co-emperor with Constantine VII, securing the empire's borders and enhancing its administration until his eventual deposition by his sons."
1052
},
1053
{
1054
name: "Romanos II",
1055
start: new Date(Date.UTC(959, 11, 9)),
1056
end: new Date(Date.UTC(963, 3, 15)),
1057
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Romanos_et_Eudoxie_%28cropped2%29.JPG/330px-Romanos_et_Eudoxie_%28cropped2%29.JPG",
1058
description: "Romanos II’s reign was brief but witnessed military victories under his generals, including the conquest of Crete."
1059
},
1060
{
1061
name: "Nikephoros II",
1062
start: new Date(Date.UTC(963, 3, 15)),
1063
end: new Date(Date.UTC(969, 12, 11)),
1064
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Nikephoros_Phokas.jpg/315px-Nikephoros_Phokas.jpg",
1065
description: "A military genius, Nikephoros II focused on expanding the empire's borders, but his harsh rule led to his assassination."
1066
},
1067
{
1068
name: "John I Tzimiskes",
1069
start: new Date(Date.UTC(969, 12, 11)),
1070
end: new Date(Date.UTC(976, 1, 10)),
1071
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Bamberg_Gunthertuch.jpg/360px-Bamberg_Gunthertuch.jpg",
1072
description: "A skilled general, John I continued Nikephoros II’s campaigns, securing victories in the east and stabilizing the empire internally."
1073
},
1074
{
1075
name: "Basil II",
1076
start: new Date(Date.UTC(976, 1, 10)),
1077
end: new Date(Date.UTC(1025, 12, 15)),
1078
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Basilios_II.jpg/345px-Basilios_II.jpg",
1079
description: "Known as 'Basil the Bulgar-Slayer,' his long reign saw the expansion of Byzantine territory and the consolidation of imperial power."
1080
},
1081
{
1082
name: "Constantine VIII",
1083
start: new Date(Date.UTC(1025, 12, 15)),
1084
end: new Date(Date.UTC(1028, 11, 11)),
1085
img: "https://upload.wikimedia.org/wikipedia/commons/8/88/Constantine_VIII_in_the_Exultet_roll_%282%29.jpg",
1086
description: "The brother of Basil II, Constantine VIII's reign was largely ineffectual, as he had spent most of his life out of politics."
1087
},
1088
{
1089
name: "Romanos III",
1090
start: new Date(Date.UTC(1028, 11, 12)),
1091
end: new Date(Date.UTC(1034, 4, 11)),
1092
img: "https://upload.wikimedia.org/wikipedia/commons/5/5d/Romanos_III_in_Madrid_Skylitzes.png",
1093
description: "A well-meaning but ineffective emperor, Romanos III’s reign was marked by failed military campaigns and internal strife."
1094
},
1095
{
1096
name: "Michael IV",
1097
start: new Date(Date.UTC(1034, 4, 11)),
1098
end: new Date(Date.UTC(1041, 12, 10)),
1099
img: "https://upload.wikimedia.org/wikipedia/commons/b/b0/Michael_IV_the_Paphlagonian_%28cropped%29.jpg",
1100
description: "Despite poor health, Michael IV was a capable ruler, achieving military successes and stabilizing the empire’s finances."
1101
},
1102
{
1103
name: "Michael V",
1104
start: new Date(Date.UTC(1041, 12, 10)),
1105
end: new Date(Date.UTC(1042, 4, 20)),
1106
img: "https://upload.wikimedia.org/wikipedia/commons/5/5f/Michael_V_in_Madrid_Skylitzes.jpg",
1107
description: "Known as 'Michael the Caulker,' his attempt to rule alone led to his overthrow by Empress Zoe, who had him blinded and deposed."
1108
},
1109
{
1110
name: "Zoe",
1111
start: new Date(Date.UTC(1042, 4, 19)),
1112
end: new Date(Date.UTC(1042, 6, 12)),
1113
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Zoe_mosaic_Hagia_Sophia.jpg/330px-Zoe_mosaic_Hagia_Sophia.jpg",
1114
description: "Empress Zoe ruled jointly with her sister Theodora and later with her third husband, Constantine IX, maintaining political control."
1115
},
1116
{
1117
name: "Constantine IX",
1118
start: new Date(Date.UTC(1042, 6, 12)),
1119
end: new Date(Date.UTC(1055, 1, 11)),
1120
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Emperor_Constantine_IX.jpg/330px-Emperor_Constantine_IX.jpg",
1121
description: "A cultured but ineffective ruler, Constantine IX oversaw the beginning of the empire's decline and increasing internal problems."
1122
},
1123
{
1124
name: "Theodora",
1125
start: new Date(Date.UTC(1055, 1, 11)),
1126
end: new Date(Date.UTC(1056, 8, 31)),
1127
img: "https://upload.wikimedia.org/wikipedia/commons/3/37/Theodora_Porphyrogenita_crown-2.jpg",
1128
description: "The sister of Zoe, Theodora restored stability after Constantine IX’s death and ruled as empress until her own death a year later."
1129
},
1130
{
1131
name: "Michael VI",
1132
start: new Date(Date.UTC(1056, 8, 31)),
1133
end: new Date(Date.UTC(1057, 8, 31)),
1134
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Tetarteron_of_Michael_VI_%28reverse%29.png/330px-Tetarteron_of_Michael_VI_%28reverse%29.png",
1135
description: "Michael VI's brief reign ended when he was overthrown by Isaac I Komnenos, marking the transition to the Komnenian dynasty."
1136
},
1137
{
1138
name: "Isaac I Komnenos",
1139
start: new Date(Date.UTC(1057, 8, 1)),
1140
end: new Date(Date.UTC(1059, 12, 25)),
1141
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/INC-3060-r_Номисма_тетартерон._Исаак_I_Комнин._Ок._1057—1059_гг._%28реверс%29.png/330px-INC-3060-r_Номисма_тетартерон._Исаак_I_Комнин._Ок._1057—1059_гг._%28реверс%29.png",
1142
description: "Isaac I Komnenos came to power after a military revolt but abdicated after a brief rule, paving the way for the Doukas dynasty."
1143
},
1144
{
1145
name: "Constantine X Doukas",
1146
start: new Date(Date.UTC(1059, 12, 25)),
1147
end: new Date(Date.UTC(1067, 5, 22)),
1148
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Constantine_X_full_portrait.jpg/330px-Constantine_X_full_portrait.jpg",
1149
description: "Constantine X's reign was marked by military decline, and his focus on domestic matters weakened the empire's defenses."
1150
},
1151
{
1152
name: "Michael VII Doukas",
1153
start: new Date(Date.UTC(1067, 5, 22)),
1154
end: new Date(Date.UTC(1078, 3, 31)),
1155
img: "https://upload.wikimedia.org/wikipedia/commons/5/5a/Michael_VII_Doukas_from_the_Khakhuli_Triptych.png",
1156
description: "Michael VII, nicknamed 'Parapinakes,' struggled with inflation and military failures, leading to his eventual abdication."
1157
},
1158
{
1159
name: "Romanos IV",
1160
start: new Date(Date.UTC(1068, 1, 1)),
1161
end: new Date(Date.UTC(1071, 10, 24)),
1162
img: "https://upload.wikimedia.org/wikipedia/commons/2/2a/Romanus_IV_coin_crop.png",
1163
description: "Romanos IV is best known for his defeat at the Battle of Manzikert, which significantly weakened Byzantine control in Anatolia."
1164
},
1165
{
1166
name: "Nikephoros III",
1167
start: new Date(Date.UTC(1078, 3, 31)),
1168
end: new Date(Date.UTC(1081, 4, 4)),
1169
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/Nikephoros_III.jpg/330px-Nikephoros_III.jpg",
1170
description: "Nikephoros III’s reign was marked by political instability and he was eventually overthrown by Alexios I Komnenos."
1171
},
1172
{
1173
name: "Alexios I Komnenos",
1174
start: new Date(Date.UTC(1081, 4, 4)),
1175
end: new Date(Date.UTC(1118, 8, 15)),
1176
img: "https://upload.wikimedia.org/wikipedia/commons/8/8c/Alexios_I_Komnenos.jpg",
1177
description: "Founder of the Komnenian dynasty, Alexios I stabilized the empire through reforms and alliances, including the First Crusade."
1178
},
1179
{
1180
name: "John II Komnenos",
1181
start: new Date(Date.UTC(1118, 8, 15)),
1182
end: new Date(Date.UTC(1143, 4, 8)),
1183
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/Jean_II_Comnene.jpg/330px-Jean_II_Comnene.jpg",
1184
description: "John II, known as 'John the Good,' was a capable ruler who expanded Byzantine influence and worked to restore its former power."
1185
},
1186
{
1187
name: "Manuel I Komnenos",
1188
start: new Date(Date.UTC(1143, 4, 8)),
1189
end: new Date(Date.UTC(1180, 9, 24)),
1190
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Manuel_I_Comnenus.jpg/345px-Manuel_I_Comnenus.jpg",
1191
description: "Manuel I's reign was marked by ambitious military campaigns and diplomatic efforts, though his policies strained the empire's resources."
1192
},
1193
{
1194
name: "Alexios II Komnenos",
1195
start: new Date(Date.UTC(1180, 9, 24)),
1196
end: new Date(Date.UTC(1183, 9, 24)),
1197
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/142_-_Alexios_II_Komnenos_%28Mutinensis_-_color%29.png/330px-142_-_Alexios_II_Komnenos_%28Mutinensis_-_color%29.png",
1198
description: "Alexios II's short and troubled reign ended with his murder during the coup led by Andronikos I Komnenos."
1199
},
1200
{
1201
name: "Andronikos I Komnenos",
1202
start: new Date(Date.UTC(1183, 9, 24)),
1203
end: new Date(Date.UTC(1185, 9, 12)),
1204
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/143_-_Andronikos_I_Komnenos_%28Mutinensis_-_color%29.png/330px-143_-_Andronikos_I_Komnenos_%28Mutinensis_-_color%29.png",
1205
description: "Andronikos I's tyrannical rule led to widespread discontent, and he was eventually overthrown and executed."
1206
},
1207
{
1208
name: "Isaac II Angelos",
1209
start: new Date(Date.UTC(1185, 9, 12)),
1210
end: new Date(Date.UTC(1195, 4, 8)),
1211
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/144_-_Isaac_II_Angelos_%28Mutinensis_-_color%29.png/330px-144_-_Isaac_II_Angelos_%28Mutinensis_-_color%29.png",
1212
description: "Isaac II's reign saw the empire's decline due to internal strife and external invasions, ending with his deposition by Alexios III."
1213
},
1214
{
1215
name: "Alexios III Angelos",
1216
start: new Date(Date.UTC(1195, 4, 8)),
1217
end: new Date(Date.UTC(1203, 7, 17)),
1218
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/145_-_Alexios_III_Angelos_%28Mutinensis_-_color%29.png/330px-145_-_Alexios_III_Angelos_%28Mutinensis_-_color%29.png",
1219
description: "Alexios III fled the capital during the Fourth Crusade, marking the beginning of the fall of Constantinople to Latin forces."
1220
},
1221
{
1222
name: "Isaac II Angelos (Restored)",
1223
start: new Date(Date.UTC(1203, 7, 17)),
1224
end: new Date(Date.UTC(1204, 4, 12)),
1225
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/144_-_Isaac_II_Angelos_%28Mutinensis_-_color%29.png/330px-144_-_Isaac_II_Angelos_%28Mutinensis_-_color%29.png",
1226
description: "Isaac II was briefly restored to the throne during the chaos of the Fourth Crusade but soon died, leaving his son Alexios IV in charge."
1227
},
1228
{
1229
name: "Alexios IV Angelos",
1230
start: new Date(Date.UTC(1203, 7, 18)),
1231
end: new Date(Date.UTC(1204, 1, 28)),
1232
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/146_-_Alexios_IV_Angelos_%28Mutinensis_-_color%29.png/300px-146_-_Alexios_IV_Angelos_%28Mutinensis_-_color%29.png",
1233
description: "Alexios IV's rule was short-lived, as he struggled to pay off the Crusaders, leading to his overthrow and execution."
1234
},
1235
{
1236
name: "Alexios V Doukas",
1237
start: new Date(Date.UTC(1204, 1, 5)),
1238
end: new Date(Date.UTC(1204, 4, 13)),
1239
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/147_-_Alexios_V_Doukas_%28Mutinensis_-_color%29.png/330px-147_-_Alexios_V_Doukas_%28Mutinensis_-_color%29.png",
1240
description: "Alexios V took power during the final days before Constantinople’s fall to the Crusaders and was captured and executed after the city’s sack."
1241
},
1242
{
1243
name: "Theodore I Laskaris",
1244
start: new Date(Date.UTC(1204, 4, 13)),
1245
end: new Date(Date.UTC(1222, 11, 1224)),
1246
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/86/148_-_Theodore_I_Laskaris_%28Mutinensis_-_color%29.png/330px-148_-_Theodore_I_Laskaris_%28Mutinensis_-_color%29.png",
1247
description: "Theodore I Laskaris was the first emperor of the Empire of Nicaea, establishing it as a successor state after the fall of Constantinople during the Fourth Crusade."
1248
},
1249
{
1250
name: "John III Doukas Vatatzes",
1251
start: new Date(Date.UTC(1222, 12, 15)),
1252
end: new Date(Date.UTC(1254, 11, 3)),
1253
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/149_-_John_III_Doukas_Vatatzes_%28Mutinensis_-_color%29.png/330px-149_-_John_III_Doukas_Vatatzes_%28Mutinensis_-_color%29.png",
1254
description: "John III Doukas Vatatzes was a capable and beloved ruler who strengthened the Empire of Nicaea and set the stage for the eventual recapture of Constantinople."
1255
},
1256
{
1257
name: "Theodore II Laskaris",
1258
start: new Date(Date.UTC(1254, 11, 3)),
1259
end: new Date(Date.UTC(1258, 8, 16)),
1260
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Theodoros_II_Laskaris.jpg/330px-Theodoros_II_Laskaris.jpg",
1261
description: "Theodore II Laskaris was an intellectual ruler who faced internal strife but managed to preserve the Empire of Nicaea's influence before his untimely death."
1262
},
1263
{
1264
name: "John IV Laskaris",
1265
start: new Date(Date.UTC(1258, 8, 16)),
1266
end: new Date(Date.UTC(1261, 7, 25)),
1267
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/151_-_John_IV_Laskaris_%28Mutinensis_-_color%29.png/330px-151_-_John_IV_Laskaris_%28Mutinensis_-_color%29.png",
1268
description: "John IV Laskaris was a child emperor who was deposed by Michael VIII Palaiologos after the recapture of Constantinople."
1269
},
1270
{
1271
name: "Michael VIII Palaiologos",
1272
start: new Date(Date.UTC(1261, 7, 25)),
1273
end: new Date(Date.UTC(1282, 12, 11)),
1274
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/Miniature_of_Michael_VIII.png/330px-Miniature_of_Michael_VIII.png",
1275
description: "Michael VIII Palaiologos restored the Byzantine Empire by recapturing Constantinople from the Latin Empire, marking the beginning of the Palaiologan dynasty."
1276
},
1277
{
1278
name: "Andronikos II Palaiologos",
1279
start: new Date(Date.UTC(1282, 12, 11)),
1280
end: new Date(Date.UTC(1328, 5, 24)),
1281
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Andronikos_II_Palaiologos.jpg/330px-Andronikos_II_Palaiologos.jpg",
1282
description: "Andronikos II's reign saw a significant decline in the empire’s military strength and financial stability, leading to internal strife and eventual abdication."
1283
},
1284
{
1285
name: "Andronikos III Palaiologos",
1286
start: new Date(Date.UTC(1328, 5, 24)),
1287
end: new Date(Date.UTC(1341, 3, 15)),
1288
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Andronikos_III_Palaiologos.jpg/330px-Andronikos_III_Palaiologos.jpg",
1289
description: "Andronikos III was a dynamic leader who attempted to restore the Byzantine Empire’s fortunes through military reforms and alliances."
1290
},
1291
{
1292
name: "John V Palaiologos",
1293
start: new Date(Date.UTC(1341, 3, 15)),
1294
end: new Date(Date.UTC(1391, 2, 16)),
1295
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Restored_mosaic_of_John_V_Palaiologos_%28head%29.jpg/330px-Restored_mosaic_of_John_V_Palaiologos_%28head%29.jpg",
1296
description: "John V struggled with internal and external pressures during his long reign, including conflicts with the Ottomans and civil wars."
1297
},
1298
{
1299
name: "John VI Kantakouzenos",
1300
start: new Date(Date.UTC(1347, 3, 8)),
1301
end: new Date(Date.UTC(1354, 12, 10)),
1302
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/John_VI_Kantakouzenos.jpg/300px-John_VI_Kantakouzenos.jpg",
1303
description: "John VI, a skilled diplomat and scholar, co-ruled with John V but eventually abdicated and retired to a monastery after losing power."
1304
},
1305
{
1306
name: "Manuel II Palaiologos",
1307
start: new Date(Date.UTC(1391, 2, 16)),
1308
end: new Date(Date.UTC(1425, 7, 21)),
1309
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/92/Manuel_II_Palaiologos_%28cropped%29.jpg/330px-Manuel_II_Palaiologos_%28cropped%29.jpg",
1310
description: "Manuel II's reign was marked by attempts to preserve the empire through diplomacy and alliances, particularly with Western Europe."
1311
},
1312
{
1313
name: "John VIII Palaiologos",
1314
start: new Date(Date.UTC(1425, 7, 21)),
1315
end: new Date(Date.UTC(1448, 10, 31)),
1316
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Palaio.jpg/330px-Palaio.jpg",
1317
description: "John VIII sought Western support against the Ottomans, attending the Council of Florence, though his efforts ultimately failed to secure lasting assistance."
1318
},
1319
{
1320
name: "Constantine XI Palaiologos",
1321
start: new Date(Date.UTC(1449, 1, 6)),
1322
end: new Date(Date.UTC(1453, 5, 29)),
1323
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/162_-_Constantine_XI_Palaiologos_%28Mutinensis_-_color%29.png/330px-162_-_Constantine_XI_Palaiologos_%28Mutinensis_-_color%29.png",
1324
description: "Constantine XI was the last Byzantine emperor, heroically defending Constantinople until his death during its fall to the Ottoman Empire in 1453."
1325
}
1326
];
1327
1328
// historical states' years of existence
1329
periods[3] = {};
1330
periods[3].name = "Historical states";
1331
periods[3].direction = "down";
1332
periods[3].ranges = [
1333
{
1334
x: "Roman Kingdom",
1335
start: new Date(Date.UTC(-753)),
1336
end: new Date(Date.UTC(-509)),
1337
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/Platner_-_Ancient_Rome_city_growth.jpg/375px-Platner_-_Ancient_Rome_city_growth.jpg",
1338
description: "The Roman Kingdom is the earliest period of Roman history, traditionally dated from the founding of Rome in 753 BC to the overthrow of the last king in 509 BC, marking the transition from a monarchy to a republic."
1339
},
1340
{
1341
x: "Roman Republic",
1342
start: new Date(Date.UTC(-509)),
1343
end: new Date(Date.UTC(-27)),
1344
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Q._Servilius_Caepio_%28M._Junius%29_Brutus%2C_denarius%2C_54_BC%2C_RRC_433-1_reverse.jpg/255px-Q._Servilius_Caepio_%28M._Junius%29_Brutus%2C_denarius%2C_54_BC%2C_RRC_433-1_reverse.jpg",
1345
description: "The Roman Republic was a period of ancient Roman civilization that began with the overthrow of the Roman monarchy and ended with the establishment of the Roman Empire. It was characterized by a complex system of checks and balances and expansion across the Mediterranean."
1346
},
1347
{
1348
x: "Roman Empire",
1349
start: new Date(Date.UTC(-27)),
1350
end: new Date(Date.UTC(395)),
1351
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/10/Better_Imperial_Aquila.png/150px-Better_Imperial_Aquila.png",
1352
description: "The Roman Empire began with Augustus's rise to power in 27 BC and marked the peak of Roman territorial expansion, wealth, and military dominance. It remained a powerful and influential force until its division into Eastern and Western halves in AD 395."
1353
},
1354
{
1355
x: "Western Roman Empire",
1356
start: new Date(Date.UTC(395)),
1357
end: new Date(Date.UTC(476)),
1358
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Western_Roman_Empire_-_400_AD.png/375px-Western_Roman_Empire_-_400_AD.png",
1359
description: "The Western Roman Empire was the western half of the Roman Empire after its division in 395 AD. It struggled with internal strife and external invasions, leading to its collapse in 476 AD, marking the traditional end of the ancient Roman era."
1360
},
1361
{
1362
x: "Eastern Roman Empire",
1363
start: new Date(Date.UTC(395)),
1364
end: new Date(Date.UTC(1453)),
1365
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Justinian555AD.png/375px-Justinian555AD.png",
1366
description: "The Eastern Roman Empire, also known as the Byzantine Empire, survived for over a millennium after the fall of the Western Empire, preserving Roman law, culture, and Christianity until the fall of Constantinople in 1453."
1367
}
1368
];
1369
1370
// 2) Add moments (events):
1371
var events = [];
1372
1373
// wars and battles
1374
events[0] = {};
1375
events[0].name = "Wars and Battles";
1376
events[0].direction = "up";
1377
events[0].moments = [
1378
{
1379
y: "Sack of Rome by Gauls",
1380
x: new Date(Date.UTC(-390, 0, 0)),
1381
img: "https://upload.wikimedia.org/wikipedia/commons/8/88/La_Bataille_de_l%27allia_-_G.Surand.jpg",
1382
description: "Gauls under Brennus sacked Rome after the Battle of the Allia, causing major devastation."
1383
},
1384
{
1385
y: "Pyrrhic War",
1386
x: new Date(Date.UTC(-280, 0, 0)),
1387
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Pyrrhic_War_Italy_en.svg/450px-Pyrrhic_War_Italy_en.svg.png",
1388
description: "King Pyrrhus of Epirus fought costly battles against Rome, leading to the term 'Pyrrhic victory'."
1389
},
1390
{
1391
y: "First Punic War",
1392
x: new Date(Date.UTC(-264, 0, 0)),
1393
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/ac/First_Punic_War_264_BC_v3.png/413px-First_Punic_War_264_BC_v3.png",
1394
description: "Rome and Carthage clashed for control of Sicily, with Rome emerging victorious."
1395
},
1396
{
1397
y: "Second Punic War",
1398
x: new Date(Date.UTC(-218, 0, 0)),
1399
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Map_of_Rome_and_Carthage_at_the_start_of_the_Second_Punic_War.svg/330px-Map_of_Rome_and_Carthage_at_the_start_of_the_Second_Punic_War.svg.png",
1400
description: "Hannibal's invasion of Italy, including crossing the Alps, but ending in Carthage's defeat."
1401
},
1402
{
1403
y: "Battle of Cannae",
1404
x: new Date(Date.UTC(-216, 0, 0)),
1405
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/The_Death_of_Paulus_Aemilius_at_the_Battle_of_Cannae_%28Yale_University_Art_Gallery_scan%29.jpg/450px-The_Death_of_Paulus_Aemilius_at_the_Battle_of_Cannae_%28Yale_University_Art_Gallery_scan%29.jpg",
1406
description: "Hannibal's forces inflicted a devastating defeat on the Romans in one of history's greatest tactical victories."
1407
},
1408
{
1409
y: "Battle of Zama",
1410
x: new Date(Date.UTC(-202, 0, 0)),
1411
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Tunisia_adm_location_map.svg/330px-Tunisia_adm_location_map.svg.png",
1412
description: "Scipio Africanus defeated Hannibal, ending the Second Punic War and Carthage's dominance."
1413
},
1414
{
1415
y: "Third Punic War",
1416
x: new Date(Date.UTC(-149, 0, 0)),
1417
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/City_of_Carthage_circa_149_BC.png/330px-City_of_Carthage_circa_149_BC.png",
1418
description: "Rome decisively destroyed Carthage, bringing an end to the Punic Wars."
1419
},
1420
{
1421
y: "Destruction of Carthage",
1422
x: new Date(Date.UTC(-146, 0, 0)),
1423
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Catapulta_by_Edward_Poynter.jpg/450px-Catapulta_by_Edward_Poynter.jpg",
1424
description: "Rome completely destroyed Carthage, marking its final defeat in the Third Punic War."
1425
},
1426
{
1427
y: "Battle of Actium",
1428
x: new Date(Date.UTC(-31, 0, 0)),
1429
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Medinaceli_Actium_reliefs_06.jpg/450px-Medinaceli_Actium_reliefs_06.jpg",
1430
description: "Octavian defeated Mark Antony and Cleopatra, leading to the establishment of the Roman Empire."
1431
},
1432
{
1433
y: "Conquest of Britain",
1434
x: new Date("0043"),
1435
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Roman.Britain.campaigns.43.to.84.jpg/450px-Roman.Britain.campaigns.43.to.84.jpg",
1436
description: "Rome invaded and began its conquest of Britain under Emperor Claudius."
1437
},
1438
{
1439
y: "Battle of the Teutoburg Forest",
1440
x: new Date("0009"),
1441
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Epitaph_des_Marcus_Caelius.JPG/420px-Epitaph_des_Marcus_Caelius.JPG",
1442
description: "Germanic tribes ambushed and destroyed three Roman legions, halting Rome's expansion into Germania."
1443
},
1444
{
1445
y: "Battle of the Milvian Bridge",
1446
x: new Date(Date.UTC(312, 0, 0)),
1447
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Battle_of_the_Milvian_Bridge_by_Giulio_Romano%2C_1520-24.jpg/600px-Battle_of_the_Milvian_Bridge_by_Giulio_Romano%2C_1520-24.jpg",
1448
description: "Constantine's victory, which led him to become the sole ruler of the Roman Empire and embrace Christianity."
1449
},
1450
{
1451
y: "Battle of Adrianople",
1452
x: new Date(Date.UTC(378, 0, 0)),
1453
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Battle_of_Adrianople_378_en.svg/330px-Battle_of_Adrianople_378_en.svg.png",
1454
description: "The Visigoths dealt a crushing defeat to the Roman army, marking a turning point in the Empire's decline."
1455
},
1456
{
1457
y: "Sack of Rome by Visigoths",
1458
x: new Date(Date.UTC(410, 0, 0)),
1459
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Visigoths_sack_Rome.jpg/330px-Visigoths_sack_Rome.jpg",
1460
description: "The Visigoths sacked Rome, symbolizing the weakening of Roman power in the West."
1461
},
1462
{
1463
y: "Battle of the Catalaunian Plains",
1464
x: new Date(Date.UTC(451, 0, 0)),
1465
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Attila_in_Gaul_451CE.svg/450px-Attila_in_Gaul_451CE.svg.png",
1466
description: "Roman and Visigoth forces defeated Attila the Hun in Gaul, halting his advance into Western Europe."
1467
},
1468
{
1469
y: "Sack of Rome by Vandals",
1470
x: new Date(Date.UTC(455, 0, 0)),
1471
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Genseric_sacking_rome_456.jpg/450px-Genseric_sacking_rome_456.jpg",
1472
description: "The Vandals plundered Rome, marking another significant blow to the Western Roman Empire."
1473
},
1474
{
1475
y: "Battle of Pharsalus",
1476
x: new Date(Date.UTC(-48, 0, 0)),
1477
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Battle_of_Pharsalus%2C_48_BC.png/300px-Battle_of_Pharsalus%2C_48_BC.png",
1478
description: "Julius Caesar's decisive victory over Pompey during the Roman Civil War."
1479
},
1480
{
1481
y: "Battle of Philippi",
1482
x: new Date(Date.UTC(-42, 0, 0)),
1483
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Philippi_location.jpg/300px-Philippi_location.jpg",
1484
description: "Mark Antony and Octavian defeated Brutus and Cassius, avenging Julius Caesar's assassination."
1485
},
1486
{
1487
y: "Battle of Edessa",
1488
x: new Date(Date.UTC(260, 0, 0)),
1489
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Naghsh-e_rostam%2C_Irán%2C_2016-09-24%2C_DD_12.jpg/450px-Naghsh-e_rostam%2C_Irán%2C_2016-09-24%2C_DD_12.jpg",
1490
description: "The Roman army suffered a catastrophic defeat by the Sassanid Persians, and Emperor Valerian was captured."},
1491
{
1492
y: "Byzantine Reconquest of Italy (Gothic War)",
1493
x: new Date(Date.UTC(535, 1, 1)),
1494
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Erster_und_Zweiter_Gotenkrieg.png/450px-Erster_und_Zweiter_Gotenkrieg.png",
1495
description: "The Byzantine Empire, led by Justinian, launched a campaign to reclaim Italy from the Ostrogoths."
1496
},
1497
{
1498
y: "Lombard Invasion of Italy",
1499
x: new Date(Date.UTC(568, 1, 1)),
1500
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Pietro_della_Vecchia_-_Rosamund_forced_to_drink_from_the_skull_of_her_father.jpg/330px-Pietro_della_Vecchia_-_Rosamund_forced_to_drink_from_the_skull_of_her_father.jpg",
1501
description: "The start of Lombard rule in Italy, reshaping the political landscape of the Italian Peninsula."
1502
},
1503
{
1504
y: "Fourth Crusade and Sack of Constantinople",
1505
x: new Date(Date.UTC(1204, 4, 12)),
1506
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/ConquestOfConstantinopleByTheCrusadersIn1204.jpg/450px-ConquestOfConstantinopleByTheCrusadersIn1204.jpg",
1507
description: "Crusaders captured and looted Constantinople, significantly weakening the Byzantine Empire."
1508
},
1509
{
1510
y: "Treaty of Venice (Fourth Crusade)",
1511
x: new Date(Date.UTC(1201, 3, 13)),
1512
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/B_alexander_III2.jpg/330px-B_alexander_III2.jpg",
1513
description: "This agreement between crusaders and Venice laid the groundwork for the Fourth Crusade."
1514
}
1515
];
1516
1517
// establishments
1518
events[1] = {};
1519
events[1].name = "Establishments";
1520
events[1].direction = "down";
1521
events[1].moments = [
1522
{
1523
y: "Establishment of Rome",
1524
x: new Date(Date.UTC(-753, 0, 0)),
1525
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Kapitolinische_Wölfin_Museum_Capitolini.jpg/330px-Kapitolinische_Wölfin_Museum_Capitolini.jpg",
1526
description: "Rome was founded, according to legend, by Romulus and Remus."
1527
},
1528
{
1529
y: "Founding of the Roman Republic",
1530
x: new Date(Date.UTC(-509, 0, 0)),
1531
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Roman_Republic_44_bC.svg/375px-Roman_Republic_44_bC.svg.png",
1532
description: "Rome transitioned from monarchy to a republican form of government."
1533
},
1534
{
1535
y: "Establishment of the Roman Empire",
1536
x: new Date(Date.UTC(-27, 0, 0)),
1537
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Roman_Empire_Trajan_117AD.png/375px-Roman_Empire_Trajan_117AD.png",
1538
description: "Augustus became the first emperor, marking the start of the Roman Empire."
1539
},
1540
{
1541
y: "Completion of the Colosseum",
1542
x: new Date("0080"),
1543
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Roma_PlanFXD.jpg/405px-Roma_PlanFXD.jpg",
1544
description: "Rome's famous amphitheater was completed and opened for public games."
1545
},
1546
{
1547
y: "Construction of Hadrian's Wall",
1548
x: new Date(Date.UTC(122, 0, 0)),
1549
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Hadrians_Wall_map.svg/375px-Hadrians_Wall_map.svg.png",
1550
description: "A defensive fortification built to protect Roman Britain from northern tribes."
1551
},
1552
{
1553
y: "Completion of the Pantheon",
1554
x: new Date(Date.UTC(126, 0, 0)),
1555
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Roma_PlanFXD.jpg/405px-Roma_PlanFXD.jpg",
1556
description: "The Pantheon in Rome, a temple dedicated to all gods, was finished."
1557
},
1558
{
1559
y: "Edict of Caracalla",
1560
x: new Date(Date.UTC(212, 0, 0)),
1561
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Constitutio_Antoniniana.png/330px-Constitutio_Antoniniana.png",
1562
description: "Granted Roman citizenship to all free men within the empire."
1563
},
1564
{
1565
y: "Diocletian's Reforms",
1566
x: new Date(Date.UTC(284, 0, 0)),
1567
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Istanbul_-_Museo_archeol._-_Diocleziano_%28284-305_d.C.%29_-_Foto_G._Dall%27Orto_28-5-2006_%28cropped%29.jpg/330px-Istanbul_-_Museo_archeol._-_Diocleziano_%28284-305_d.C.%29_-_Foto_G._Dall%27Orto_28-5-2006_%28cropped%29.jpg",
1568
description: "Diocletian restructured the empire to address internal and external pressures."
1569
},
1570
{
1571
y: "Tetrarchy Established",
1572
x: new Date(Date.UTC(293, 0, 0)),
1573
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/Venice_–_The_Tetrarchs_03.jpg/300px-Venice_–_The_Tetrarchs_03.jpg",
1574
description: "Diocletian split imperial power among four rulers to stabilize the empire."
1575
},
1576
1577
{
1578
y: "Edict of Milan",
1579
x: new Date(Date.UTC(313, 0, 0)),
1580
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/Constantine_Chiaramonti_Inv1749.jpg/330px-Constantine_Chiaramonti_Inv1749.jpg",
1581
description: "Issued by Constantine, it granted religious tolerance, especially for Christians."
1582
},
1583
1584
{
1585
y: "Council of Nicaea",
1586
x: new Date(Date.UTC(325, 0, 0)),
1587
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/da/Nikea-arius.png/300px-Nikea-arius.png",
1588
description: "First ecumenical council that established key doctrines of Christianity."
1589
},
1590
1591
{
1592
y: "Founding of Constantinople",
1593
x: new Date(Date.UTC(330, 0, 0)),
1594
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Byzantine_Constantinople-en.png/330px-Byzantine_Constantinople-en.png",
1595
description: "Constantine founded the new capital of the Roman Empire in the East."
1596
},
1597
{
1598
y: "Council of Ephesus",
1599
x: new Date(Date.UTC(431, 0, 0)),
1600
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Concile-Ephese-Fourviere-detail.jpg/525px-Concile-Ephese-Fourviere-detail.jpg",
1601
description: "An ecumenical council that affirmed the title of Theotokos for Mary."
1602
},
1603
{
1604
y: "Council of Chalcedon",
1605
x: new Date(Date.UTC(451, 0, 0)),
1606
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Fourth_ecumenical_council_of_chalcedon_-_1876.jpg/300px-Fourth_ecumenical_council_of_chalcedon_-_1876.jpg",
1607
description: "Defined Christ's dual nature, both human and divine, in Christian doctrine."
1608
},
1609
{
1610
y: "First Council of Constantinople",
1611
x: new Date(Date.UTC(381, 0, 0)),
1612
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Homilies_of_Gregory_the_Theologian_gr._510%2C_f_723.jpg/383px-Homilies_of_Gregory_the_Theologian_gr._510%2C_f_723.jpg",
1613
description: "Expanded on the Nicene Creed and affirmed the Holy Spirit's divinity."
1614
},
1615
{
1616
y: "Establishment of the Ostrogothic Kingdom",
1617
x: new Date(Date.UTC(493, 3, 5)),
1618
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Ostrogothic_Kingdom.png/375px-Ostrogothic_Kingdom.png",
1619
description: "The Ostrogoths established rule in Italy under King Theodoric."
1620
},
1621
{
1622
y: "Establishment of the Papal States",
1623
x: new Date(Date.UTC(754, 7, 1)),
1624
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Stato_Pontificio_legazioni_1850.svg/375px-Stato_Pontificio_legazioni_1850.svg.png",
1625
description: "The Papacy gained political control over central Italy, forming the Papal States."
1626
},
1627
{
1628
y: "Concordat of Worms",
1629
x: new Date(Date.UTC(1122, 9, 23)),
1630
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Urkunde_Wormser_Konkordat-bg.png/495px-Urkunde_Wormser_Konkordat-bg.png",
1631
description: "Agreement resolving the Investiture Controversy between the Papacy and Holy Roman Empire."
1632
}
1633
];
1634
1635
// disasters
1636
events[2] = {};
1637
events[2].name = "Disasters";
1638
events[2].direction = "down";
1639
events[2].moments = [
1640
{
1641
y: "Assassination of Julius Caesar",
1642
x: new Date(Date.UTC(-44, 0, 0)),
1643
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Vincenzo_Camuccini_-_La_morte_di_Cesare.jpg/375px-Vincenzo_Camuccini_-_La_morte_di_Cesare.jpg",
1644
description: "Caesar was killed by Roman senators to stop his increasing power."
1645
},
1646
{
1647
y: "Great Fire of Rome",
1648
x: new Date("0064"),
1649
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Robert%2C_Hubert_-_Incendie_à_Rome_-.jpg/521px-Robert%2C_Hubert_-_Incendie_à_Rome_-.jpg",
1650
description: "A devastating fire that burned much of Rome, with Emperor Nero blamed."
1651
},
1652
{
1653
y: "Eruption of Mount Vesuvius",
1654
x: new Date("0079"),
1655
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d1/Destruction_of_Pompeii_and_Herculaneum.jpg/360px-Destruction_of_Pompeii_and_Herculaneum.jpg",
1656
description: "The eruption buried the cities of Pompeii and Herculaneum under ash."
1657
},
1658
{
1659
y: "Antonine Plague",
1660
x: new Date(Date.UTC(165, 0, 0)),
1661
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/The_angel_of_death_striking_a_door_during_the_plague_of_Rome_Wellcome_V0010664.jpg/390px-The_angel_of_death_striking_a_door_during_the_plague_of_Rome_Wellcome_V0010664.jpg",
1662
description: "A deadly epidemic, likely smallpox, that devastated the Roman population."
1663
},
1664
{
1665
y: "Crisis of the Third Century",
1666
x: new Date(Date.UTC(235, 0, 0)),
1667
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Map_of_Ancient_Rome_271_AD.svg/450px-Map_of_Ancient_Rome_271_AD.svg.png",
1668
description: "A period of military, political, and economic turmoil that almost destroyed the empire."
1669
},
1670
{
1671
y: "Plague of Cyprian",
1672
x: new Date(Date.UTC(249, 0, 0)),
1673
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Heiliger_Cyprianus.jpg/225px-Heiliger_Cyprianus.jpg",
1674
description: "A pandemic that contributed to the empire's instability during the 3rd century."
1675
},
1676
{
1677
y: "Division of the Roman Empire",
1678
x: new Date(Date.UTC(395, 0, 0)),
1679
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Roman_Republic_44_bC.svg/375px-Roman_Republic_44_bC.svg.png",
1680
description: "The empire was permanently split into Eastern and Western halves."
1681
},
1682
{
1683
y: "Fall of the Western Roman Empire",
1684
x: new Date(Date.UTC(476, 9, 4)),
1685
img: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Invasions_of_the_Roman_Empire_1.png/330px-Invasions_of_the_Roman_Empire_1.png",
1686
description: "The collapse of the Western Roman Empire, marking the end of ancient Rome."
1687
}
1688
];
1689
1690
return {"periods": periods, "events": events}
1691
1692
};
1693
1694
/*
1695
There is a locale mechanism in AnyChart, which is described at https://docs.anychart.com/Common_Settings/Localization.
1696
A sample locale can be seen here: https://cdn.anychart.com/releases/8.12.1/locales/en-gb.js.
1697
There is a block of keys that start with timeline_, which are used when the level of zoom changes.
1698
To show Era designators, we can edit a locale's format property.
1699
The era designator is also a property. In some locales, it is "AD" (Anno Domini) and "BC" (Before Christ),
1700
while in others, it is "BCE" (Before Common Era) and "CE" (Common Era).
1701
*/
1702
1703
// Custom function to modify locale formats to include an era designator:
1704
function patchDateTimeLocale(){
1705
// read the current output locale and create a structured clone of it
1706
var currentOutputLocale = structuredClone(anychart.format.locales[anychart.format.outputLocale()]);
1707
// read the formats object to prepare for creating a custom version of the locale
1708
var dateTimeLocaleFormats = currentOutputLocale.dateTimeLocale.formats;
1709
// loop through all available format keys to find those related to the current scale
1710
for (var format in dateTimeLocaleFormats){
1711
// "timeline_" is the scale we are looking for
1712
if (format.startsWith("timeline_")){
1713
// read and loop through an array of format values to insert an era designator
1714
var formatValues = dateTimeLocaleFormats[format];
1715
for (var i = 0; i < formatValues.length; i++) {
1716
// formats are usually represented by strings like "yyyy" or "dd MMMM yy HH:mm.SSS"
1717
var formatValue = formatValues[i];
1718
// there are two possible configurations of year representation inside a locale string "yyyy" and "yy"
1719
// we need to find both versions or neither to correctly modify the locale string
1720
var index4Y = formatValue.search(/y{4}/g)
1721
var index2Y = formatValue.search(/y{2}/g)
1722
// if there is a string representing a "yyyy" year, modify the format to include an era designator
1723
if (index4Y >= 0) {
1724
/*
1725
Create a new string that includes everything before and after the index identified earlier.
1726
The new string will include an era designator, but ensure the indexes are adjusted correctly,
1727
as we want to insert the era designator after the part of the string that represents the year.
1728
*/
1729
var formatValuePatched1 = formatValue.slice(0, index4Y) + "y G" + formatValue.slice(index4Y + 4);
1730
formatValues[i] = formatValuePatched1;
1731
// if there is a string representing a "yy" year, modify the format to include an era designator
1732
} else if (index2Y > -1) {
1733
var formatValuePatched2 = formatValue.slice(0, index2Y + 1) + "y G" + formatValue.slice(index2Y + 3)
1734
formatValues[i] = formatValuePatched2
1735
}
1736
}
1737
}
1738
}
1739
// add the custom current output locale to AnyChart
1740
anychart.format.locales["custom"] = currentOutputLocale;
1741
// set the custom locale as the active locale
1742
anychart.format.outputLocale("custom");
1743
};
1744
1745
// Function to patch the zoom levels on the timeline scale
1746
function patchedZoomLevels(){
1747
var customZoomLevels = [
1748
[
1749
{"unit": "month", "count": 1},
1750
{"unit": "quarter", "count": 1},
1751
{"unit": "year", "count": 1}
1752
],
1753
[
1754
{"unit": "quarter", "count": 1},
1755
{"unit": "year", "count": 1},
1756
{"unit": "year", "count": 10}
1757
],
1758
[
1759
{"unit": "year", "count": 1},
1760
{"unit": "year", "count": 10},
1761
{"unit": "year", "count": 50}
1762
],
1763
[
1764
{"unit": "year", "count": 10},
1765
{"unit": "year", "count": 50},
1766
{"unit": "year", "count": 100}
1767
],
1768
[
1769
{"unit": "year", "count": 50},
1770
{"unit": "year", "count": 100},
1771
{"unit": "year", "count": 500}
1772
]
1773
];
1774
return customZoomLevels;
1775
};