After overthrowing the Babylonian king, Cyrus permitted all the peoples deported by the Babylonians to return to their homelands, including the Jews of Babylon. A small community began to settle in the ruins of Jerusalem and began to rebuild the temple that Nebuchadnezzar had destroyed, which Cyrus permitted them to do.