Jews had been residing in Persia since around 727 BCE, having arrived in the region as slaves after being captured by the Assyrian and Babylonian kings. According to one Jewish legend, the first Jew to enter Persia was Sarah bat Asher, grand daughter of the Patriarch Joseph. The biblical books of Isaiah, Daniel, Ezra, Nehemiah, Chronicles, and Esther contain references to the life and experiences of Jews in Persia and accounts of their relations with the Persian kings. In the book of Ezra, the Persian kings are credited with permitting and enabling the Jews to return to Jerusalem and rebuild their Temple; its reconstruction was effected "according to the decree of Cyrus, and Darius, and Artaxerxes king of Persia" (Ezra 6:14). This great event in Jewish history took place in the late sixth-century BCE, by which time there was a well-established and influential Jewish community in Persia.