 So the army soldiers were there. They were watching the tavern and they recognized that there were spies going through there and there were secret messages being passed through the tavern. So they threw young John in prison.