<P> Josiah had four sons: Johanan, and Eliakim (born c. 634 BCE), whose mother was Zebudah the daughter of Pedaiah of Rumah; and Mattanyahu (c. 618 BCE) and Shallum (633 / 632 BCE), whose mother was Hamutal, the daughter of Jeremiah of Libnah . Eliakim had his name changed by Pharaoh Necho of Egypt to Jehoiakim . </P> <P> His son Shallum succeeded Josiah as king of Judah, under the name Jehoahaz . Shallum was succeeded by Eliakim, under the name Jehoiakim, who was succeeded by his own son Jeconiah; then, Jeconiah was succeeded to the throne by Mattanyahu, under the name Zedekiah . Zedekiah was the last king of Judah before the kingdom was conquered by Babylon and the people exiled . </P> <P> According to the Hebrew Bible, in the eighteenth year of his rule, Josiah ordered the High Priest Hilkiah to use the tax money which had been collected over the years to renovate the temple . It was during this time that Hilkiah discovered the Book of the Law . While Hilkiah was clearing the treasure room of the Temple he discovered a scroll described as "the book of the Law" or as "the book of the law of Yahweh by the hand of Moses". The phrase "the book of the Torah" (ספר התורה, sefer ha - torah) in 2 Kings 22: 8 is identical to the phrase used in Joshua 1: 8 and 8: 34 to describe the sacred writings that Joshua had received from Moses . The book is not identified in the text as the Torah and many scholars believe this was either a copy of the Book of Deuteronomy or a text that became a part of Deuteronomy . </P> <P> However it has been noted that the story of the repairs to the Temple is based on those ordered by an earlier Judean king, Joash (who ruled c. 836--796 BCE) in 2 Kings 12 . </P>

Who found the book of the law in the temple