And the Miḏanites had sold him in Mitsrayim to Potiphar, an officer of Pharaoh and captain of the guard.