After Josiah had been ruling for almost 18 years, he sent his secretary Shaphan, the son of Azaliah and grandson of Meshullam, to the temple with these instructions: