The termination of a criminal prosecution or lawsuit by either parties involved or a court's finding.