The Oedipus complex is a psychoanalytic theory proposing that children have possessive sexual desires for their opposite-sex parent while viewing their same-sex parent as a rival and that the complex is resolved when children overcome their incestuous and competitive emotions and begin to view their same-sex parent as a role model. Established by psychoanalyst Sigmund Freud in 1899, the theory is controversial.