What does ‘on the lam’ mean?

( pp ) Fleeing from the law. Morgan was on the lam for five years, then spent five more in the joint.