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 the king ordered Ashpenaz, his chief of staff, to bring to the palace some of the young men of Judah’s royal family and other noble families, who had been brought to Babylon as captives.