Which factors influence self-esteem?

According to Morris Rosenberg, self-esteem is simply a person's attitude toward self (1965). He described it as "a favorable or unfavorable attitude towards oneself".