If you have evidence the gun was planted, you should have contacted the prosecutors so they would have had the evidence to present at the trial.  They could have used your help as the so-called evidence the prosecutors had was grossly insufficient to prove the alleged action occurred.