Aiding a criminal makes you an accomplice; you can be charged with the same crime as the person you aided.