The Book of Haggai is a book of the Tanakh (Hebrew Bible) and of the Old Testament, written by the prophet Haggai. It was written in 520 BCE, some 18 years after Cyrus had taken the kingdom of Babylon and made a law in 538 BCE, so that the captive Jews could return to Judea. 