Genesis 37:36 And the Midianites sold him into Egypt unto Potiphar, an officer of Pharaoh's, the captain of the guard. (American Standard Version)