A cult of personality arises when an individual uses mass media, propaganda, or other methods, to create an idealized and heroic public image, often through unquestioning flattery and praise. Cults of personality are usually associated with dictatorships. The sociologist Max Weber developed a tripartite classification of authority; the cult of personality holds parallels with what Weber defined as 'charismatic authority'. A cult of personality is similar to hero worship, except that it is established by mass media and propaganda. However, the term may be applied by analogy to refer to adulation of religious or non-political leaders. While the cult of personality generally applies to the enhancement and promotion of a political or religious doctrine, it stands to reason that it is also asserted in everyday situations where popularity is used to advocate conformity to philosophies and lifestyles, even products and attitudes by way of peer pressure and herd mentality.