Defense (legal)
Many of the above are considered an affirmative defense in which case the burden of proof may be on the defendant to prove their innocence. Otherwise in a criminal trial the burden of proof usually rests with the prosecution. They must prove the defendant is guilty beyond a reasonable doubt.