Haggai was a prophet who lived at the end of the exile in Babylonia. Cyrus the Persian had issued a decree allowing Jews to return home and rebuild the Temple. Some Jews did return to Jerusalem but no significant progress was made on the Temple. Haggai, along with the prophet Zechariah, urged the people to rebuild the sanctuary. His words had effect and by 515 BC a new Temple was built.