At his trial, he was nearly acquitted on a technicality, but since he refused to give up preaching, he was sent to prison.
He was nearly acquitted on a technicality. This was at his trial. He was sent to prison. He refused to give up preaching.