Answer:
dissociative identity disorder
Explanation:
Previously known as multiple personality disorder, dissociative identity disorder is diagnosed in cases where two or more varied personalities are present and taking control of the individual.
The name was changed in 1994, to understand the disorder batter - it is not a case of completely separate personalities as much as splitting identities of a person.
This disorder also affects memory, consciousness, identity, anxiety, and people who suffer from it are usually also diagnosed with depression, anxiety and borderline personality disorder.