If someone who is accused of a crime turns state's evidence, they agree to give evidence in a law court against another person such as a former accomplice, usually in exchange for a reduced sentence for themselves.
[US] Defendants who had turned state's evidence were also pardoned.