What Do You Call It

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 defensive lawyer.