People can resist the pressure to conform or obey if they have an ally, someone supporting their point of view. Having an ally can build confidence and allow individuals to remain independent.
In his line comparison test Asch (1955) showed how an ally or dissenter can help people resistconformity.
In Milgram's variation, he showed how obedience levels drop when there is a disobedient confederate.