Helping a criminal

When a person assists a criminal in breaking the law before the criminal gets arrested, we call him an accomplice.When a person assists a criminal in breaking the law after the criminal gets arrested, we call him a defense lawyer.