They remained in prison for quite some time, and the captain of the guard assigned them to Joseph, who looked after them.