Prosecutors say there “is no longer a realistic prospect of conviction” after bringing charges in 2022.