The book of Zechariah is set in the same period as the book of Haggai: the early years of Darius I . The book of Ezra associates Haggai and Zechariah and the building of the Temple. The book of Zechariah deals with issues similar to those in the book of Haggai: the restoration of the community in the Persian period. Like Haggai, it legitimizes the rebuilding of the Temple and the dual leadership under which it was built. It emphasizes repentance and exhorts the community directly addressed within the book, and above all, that of the readership to behave in accordance with the divine will, so as to avoid the fate of their ancestors.