The Book of Daniel was compiled shortly after 164 BCE, following the Maccabean Revolt.[8] The story of Belshazzar's feast is historical fiction, and several details are not consistent with historical facts.[6][7] Belshazzar is portrayed as the king of Babylon and "son" of Nebuchadnezzar, though he was actually the son of Nabonidus—one of Nebuchadnezzar's successors—and he never became king in his own right. In the story, the conqueror who inherits Babylon is Darius the Mede, but no such individual is known to history, and the invaders were actually Persians.[7] This is typical of the "tale of court contest" in which historical accuracy is not an essential element.[21]