After their arrest in the Gulf, the sailors and marines were taken to a prison in Tehran.