Question: The father of Otto III was Holy Roman Emperor until his death in what year?

full_context: Document 1: John II, Count of Ziegenhain: John II, Count of Ziegenhain (died 14 February 1450) was the second son of Count Gottfried VIII of Ziegenhain and his wife Agnes of Brunswick. He was the last reigning Count of Ziegenhain and Nidda. He probably owed His nickname "the Strong" to his obesity, although he is said to have possessed an extraordinary muscle strength as a young man. His younger brother Otto was Archbishop of Trier from 1419 until his death in 1430.
Document 2: German royal election, 1002: The German royal election of 1002 was the decision on the succession which was held after the death of Emperor Otto III without heirs. It was won by Duke Henry IV of Bavaria among accusations of uncustomary practices (bribery and electoral manipulation).
Document 3: Rudolf II, Holy Roman Emperor: Rudolf II (18 July 1552 – 20 January 1612) was Holy Roman Emperor (1576–1612), King of Hungary and Croatia (as Rudolf I, 1572–1608), King of Bohemia (1575–1608/1611) and Archduke of Austria (1576–1608). He was a member of the House of Habsburg.
Document 4: Conrad IV of Germany: Conrad (25 April 1228 – 21 May 1254), a member of the Hohenstaufen dynasty, was the only son of Emperor Frederick II from his second marriage with Queen Isabella II of Jerusalem. He inherited the title of a King of Jerusalem (as Conrad II) upon the death of his mother in childbed. Appointed Duke of Swabia in 1235, his father had him elected King of Germany (King of the Romans) and crowned King of Italy (as Conrad IV) in 1237. After the emperor was deposed and died in 1250, he ruled as King of Sicily (Conrad I) until his death.
Document 5: Conrad II, Holy Roman Emperor: Conrad II (c. 990 4 June 1039), also known as Conrad the Elder and Conrad the Salic , was Emperor of the Holy Roman Empire from 1027 until his death in 1039. The founder of the Salian dynasty of emperors, Conrad also served as King of Germany from 1024, King of Italy from 1026, and King of Burgundy from 1033.
Document 6: Otto II, Holy Roman Emperor: Otto II (955 – December 7, 983), called the Red ("Rufus"), was Holy Roman Emperor from 973 until his death in 983. A member of the Ottonian dynasty, Otto II was the youngest and sole surviving son of Otto the Great and Adelaide of Italy.
Document 7: Maximilian I, Holy Roman Emperor: Maximilian I (22 March 1459 – 12 January 1519) was King of the Romans (also known as King of the Germans) from 1486 and Holy Roman Emperor from 1493 until his death, though he was never crowned by the Pope, as the journey to Rome was always too risky. He was the son of Frederick III, Holy Roman Emperor, and Eleanor of Portugal. He ruled jointly with his father for the last ten years of his father's reign, from c. 1483 to 1493.
Document 8: Prayerbook of Otto III: The Prayerbook of Otto III or Pommersfelden Prayerbook is an Ottonian illuminated manuscript, made up of 44 bound parchment folios. It was produced around 984 in Mainz for the private use of Otto III, Holy Roman Emperor, commissioned by his mother Theophanu and Archbishop Willigis. It is the only prayerbook to survive from the Ottonian era and its texts and images set out a monastic model for an ideal sovereign, making it more precisely a mirror of princes.
Document 9: Henry II, Holy Roman Emperor: Henry II (German: "Heinrich II" ; Italian: "Enrico II" ) (6 May 973 – 13 July 1024), also known as Saint Henry, Obl. S. B., was Holy Roman Emperor ("Romanorum Imperator") from 1014 until his death in 1024 and the last member of the Ottonian dynasty of Emperors as he had no children. The Duke of Bavaria from 995, Henry became King of Germany ("Rex Romanorum") following the sudden death of his second cousin, Emperor Otto III in 1002, was crowned King of Italy ("Rex Italiae") in 1004, and was crowned by the Pope as Emperor in 1014.
Document 10: Archduke Otto of Austria (1865–1906): Otto Franz Joseph Karl Ludwig Maria, Prince Imperial and Archduke of Austria, Prince Royal of Hungary and Bohemia (21 April 1865 – 1 November 1906) was the second son of Archduke Karl Ludwig of Austria (younger brother of Emperor Franz Joseph I of Austria) and his second wife, Princess Maria Annunciata of Bourbon-Two Sicilies. He was the father of Charles I of Austria, the last Emperor of Austria.
Document 11: Otto III, Holy Roman Emperor: Otto III (June/July 980 – 23 January 1002) was Holy Roman Emperor from 996 until his early death in 1002. A member of the Ottonian dynasty, Otto III was the only son of the Emperor Otto II and his wife Theophanu.
Document 12: Conrad II of Italy: Conrad II (12 February 1074 – 27 July 1101) was the Duke of Lower Lorraine (1076–87), King of Germany (1087–98) and King of Italy (1093–98). He was the second son of Holy Roman Emperor Henry IV and Bertha of Savoy, and their eldest son to reach adulthood, his older brother Henry having been born and died in the same month of August 1071. Conrad's rule in Lorraine and Germany was nominal. He spent most of his life in Italy and there he was king in fact as well as in name.
Document 13: Constantius II: Constantius II (Latin: "Flavius Julius Constantius Augustus" ; 7 August 317 – 3 November 361) was Roman Emperor from 337 to 361. The second son of Constantine I and Fausta, he ascended to the throne with his brothers Constantine II and Constans upon their father's death.
Document 14: Rudolf, Crown Prince of Austria: Rudolf, Crown Prince of Austria (Rudolf Franz Karl Joseph; 21 August 1858 – 30 January 1889) was the only son of Emperor Franz Joseph I and heir apparent to the throne of Austria-Hungary from birth. In 1889, he died in a suicide pact with his mistress, Baroness Mary Vetsera, at the Mayerling hunting lodge. The ensuing scandal made international headlines. He was named after the first Habsburg King of Germany, Rudolf I, who assumed the throne in 1273.
Document 15: Ludwig II of Bavaria: Ludwig II (German: "Ludwig Otto Friedrich Wilhelm" ; English: Louis Otto Frederick William ; 25 August 1845 – 13 June 1886) was King of Bavaria from 1864 until his death in 1886. He is sometimes called the Swan King, Mad King Ludwig or der Märchenkönig (the 'Fairy Tale King'). He also held the titles of Count Palatine of the Rhine, Duke of Bavaria, Duke of Franconia, and Duke in Swabia.
ground_truth: 983