The term Oedipus complex (or, less commonly, Oedipal complex) explains the emotions and ideas that the mind keeps in the unconscious, via dynamic repression, that concentrates upon a child's desire to have sexual relations with the parent of the opposite sex (i.e. males attracted to their mothers, and females attracted to their fathers). Sigmund Freud, who coined the term ""Oedipus complex"" believed that the Oedipus complex is a desire for the parent in both males and females; Freud deprecated the term ""Electra complex"", which was introduced by Carl Gustav Jung in regard to the Oedipus complex manifested in young girls. The Oedipus complex occurs in the third — phallic stage (ages 3–6) — of the five psychosexual development stages: (i) the oral, (ii) the anal, (iii) the phallic, (iv) the latent, and (v) the genital — in which the source of libidinal pleasure is in a different erogenous zone of the infant's body.In classical Freudian psychoanalytic theory, a child's identification with the same-sex parent is the successful resolution of the Oedipus complex and of the Electra complex. This is a key psychological experience that is necessary for the development of a mature sexual role and identity. Sigmund Freud further proposed that boys and girls experience the complexes differently: boys in a form of castration anxiety, girls in a form of penis envy; and that unsuccessful resolution of the complexes might lead to neurosis, pedophilia, and homosexuality. Men and women who are fixated in the Oedipal and Electra stages of their psychosexual development might be considered ""mother-fixated"" and ""father-fixated"". In adult life this can lead to a choice of a sexual partner who resembles one's parent.In regards to narcissism, the Oedipus complex is viewed as the pinnacle of the individual's maturational striving for success or for love. In 'The Economic Problem of Masochism' Freud writes that in “the oedipus complex… [the parent’s] personal significance for the superego recedes into the background’ and ‘the imagos they leave behind… link [to] the influences of teachers and authorities…”. Educators and mentors are put in the ego ideal of the individual and they strive to take on their knowledge, skills, or insights. In 'Some Reflections on Schoolboy Psychology' Freud writeswe can now understand our relation to our schoolmasters. These men, not all of whom were in fact fathers themselves, became our substitute fathers. That was why, even though they were still quite young, they struck us as so mature and so unattainably adult. We transferred on to them the respect and expectations attaching to the omniscient father of our childhood, and we then began to treat them as we treated our fathers at home. We confronted them with the ambivalence that we had acquired in our own families and with its help we struggled with them as we had been in the habit of struggling with our fathers…The Oedipus complex, in narcissistic terms, represents that an individual can lose the ability to take a parental-substitute into his ego ideal without ambivalence. Once the individual has ambivalent relations with parental-substitutes, he will enter into the triangulating castration complex. In the castration complex the individual becomes rivalrous with parental-substitutes and this will be the point of regression. In 'Psycho-analytic notes on an autobiographical account of a case of paranoia (Dementia paranoides)' Freud writes that “disappointment over a woman” (object drives) or “a mishap in social relations with other men” (ego drives) is the cause of regression or symptom formation. Triangulation can take place with a romantic rival or with one's reputation in the community.