The king did not put them in prison but rather he commanded for them to be imprisoned. AT: "He had them put" or "He commanded his guard to put" (See: [[rc://en/ta/man/translate/figs-metonymy]])
# in the same prison where Joseph was confined
This can be stated in active form. AT: "This was the same prison that Joseph was in" or "This was the same prison Potiphar put Joseph in" (See: [[rc://en/ta/man/translate/figs-activepassive]])