On the Lam

What does the expression “on the lam” mean?

Definition: eluding police; a fugitive from justice

Example: After nearly a year on the lam, the bank robber was captured just six miles from the scene of the crime.