And the Midianites sold him into Egypt, to Potiphar, an officer of Pharaoh [and] captain of the guards.