Are you talking about a person?. You may mean 'a witness for the prosecution''. Your phrase is correct English, but common legal terms often depend on the country you are talking about.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.