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 defence lawyer.
Yours Fun Portal !