To be accomplice to someone in an illegal act.
To choose to take the same point of view as (someone).