So Pharaoh put those 2 men in jail. That jail was the same one that Joseph was in. The soldier that guarded that jail, he was in charge of all the soldiers that looked after Pharaoh’s house.