36 And the Midianites sold him in Egypt to Potiphar, a court official of Pharaoh, a commander of the imperial guard.