Meanwhile, the Midianite traders arrived in Egypt, where they sold Joseph to Potiphar, an officer of Pharaoh, the king of Egypt. Potiphar was captain of the palace guard.
Then Nebuzaradan, the captain of the guard, took as exiles to Babylon the rest of the people who remained in the city, those who had defected to him, and everyone else who remained.
On August 17 of that year, which was the nineteenth year of King Nebuchadnezzar’s reign, Nebuzaradan, the captain of the guard and an official of the Babylonian king, arrived in Jerusalem.
Then Daniel went in to see Arioch, whom the king had ordered to execute the wise men of Babylon. Daniel said to him, “Don’t kill the wise men. Take me to the king, and I will tell him the meaning of his dream.”