Based on the references within 2ⁿᵈ Paralipomenon to the Egyptian king Osorkon I as a Kushite, parts of the book must have been compiled sometime between 943 and 716 BC, when Egypt was part of the Kushite Empire, while later sections of 2ⁿᵈ Paralipomenon must have been compiled sometime after 539 BC when Cyrus the Great conquered the Babylonian Empire. The surviving Hebrew text of Divrei-hayyamim does, however, contain a reference to the Temple in Jerusalem as the 'Temple of the Gods,' which means the original text of the book has to predate King Josiah's reforms of circa 625 BC, and likely predates King Hezekiah's similar reforms decades earlier. Both Hezekiah and Josiah are recorded as removing the idols of the gods from the temple, which had by all accounts been in the temple since it was built by King Solomon.