Genesis 37:36 The Midianites sold him into Egypt to Potiphar, an officer of Pharaoh's, the captain of the guard. (World English Bible)