The prisoner was set free by the court (change into active voice)
The prisoner was set free by the court. (passive voice)
The prisoner was set free. (active voice)