Leadership (the role) and the leader (the person), who shapes the other?

When people are not the same in and out of a leadership position, it is a result of either of two things: a wrong form a leadership they were exposed to and are now replicating or a neglect of self discipline to uphold right values when no one is tasked with the responsibility to hold them accountable.