Genesis 37:36

36 Meanwhile, the Midianitesa sold Joseph in Egypt to Potiphar, one of Pharaoh’s officials, the captain of the guard.

Read Genesis 37:36 Using Other Translations

And the Midianites sold him into Egypt unto Potiphar, an officer of Pharaoh's, and captain of the guard.
Meanwhile the Midianites had sold him in Egypt to Potiphar, an officer of Pharaoh, the captain of the guard.
Meanwhile, the Midianite traders arrived in Egypt, where they sold Joseph to Potiphar, an officer of Pharaoh, the king of Egypt. Potiphar was captain of the palace guard.