beat the rap

[beat the rap] {v. phr.} To escape the legal penalty one ought to receive.

In spite of the strong evidence against him, the prisoner beat the rap and went free.