Isaiah named him generations before he ruled: Cyrus, my shepherd, his anointed. In the first year of Cyrus king of Persia, Yahweh stirred up his spirit, and he proclaimed that the house of Yahweh should be built again in Jerusalem.
Key verses
Isaiah 44:28: That saith of Cyrus, He is my shepherd, and shall perform all my pleasure: even saying to Jerusalem, Thou shalt be built; and to the temple, Thy foundation shall be laid.
Isaiah 45:1: Thus saith Yahweh to his anointed, to Cyrus, whose right hand I have holden, to subdue nations before him; and I will loose the loins of kings, to open before him the two leaved gates; and the gates shall not be shut;
2 Chronicles 36:22: Now in the first year of Cyrus king of Persia, that the word of Yahweh spoken by the mouth of Jeremiah might be accomplished, Yahweh stirred up the spirit of Cyrus king of Persia, that he made a proclamation throughout all his kingdom, and put it also in writing, saying,
2 Chronicles 36:23: Thus saith Cyrus king of Persia, All the kingdoms of the earth hath Yahweh Elohim of heaven given me; and he hath charged me to build him an house in Jerusalem, which is in Judah. Who is there among you of all his people? Yahweh his Elohim be with him, and let him go up.
Ezra 1:1: Now in the first year of Cyrus king of Persia, that the word of Yahweh by the mouth of Jeremiah might be fulfilled, Yahweh stirred up the spirit of Cyrus king of Persia, that he made a proclamation throughout all his kingdom, and put it also in writing, saying,
Ezra 1:3: Who is there among you of all his people? his Elohim be with him, and let him go up to Jerusalem, which is in Judah, and build the house of Yahweh Elohim of Israel, (he is the Elohim,) which is in Jerusalem.