A person who uses any violence with intent to deter any other person—
(a) from acting in any manner as a judge, magistrate, juror, witness, counsel, agent, prosecutor, or party in any legal proceeding or inquiry; or
(b) from acting in execution of his or her duty as a judge or magistrate, or peace officer, or in any judicial capacity;
(c) from having recourse to any Court or on account of his or her having so acted or had recourse to the Court;
is liable on conviction on indictment to imprisonment for 10 years.