In the eighteenth year of his reign, after he had purified the land and the Temple, Josiah appointed Shaphan son of Azaliah, Maaseiah the governor of Jerusalem, and Joah son of Joahaz, the royal historian, to repair the Temple of the LORD his God.