The captain of the guard assigned them to Joseph, and he became their personal attendant. After they had been in custody for some time,
Jewish Publication Society of America Version (JPS1917) - Genesis 40:4 >And the captain of the guard charged Joseph to be with them, and he ministered unto them; and they continued a season in ward.