Beat a case
Contrary to the other definition,
Beating a case is not only getting away with a crime, because that implies that you commited the crime.

You can also beat a case while being innocent and not having commited any crime, thus falsely accused.
Feds incarcerated me for no reason, still i had to fight in court and prove my innocence.

In the end truth ruled and i beat a case!