Gen Genesis, chapter Book of Genesis, chapter 37
And the Midyanim sold him into Mitzrayim unto Potiphar, a seris Pharaoh (courtier of Pharaoh), a sar hatabbachim (a captain of the slaughterers, executioners, i.e., captain of the guard).Gen 39:1; Psa 105:17