The Ego and the Id was written by Sigmund Freud in 1923.
The contents of the book are the following
I. Consciousness and what is Uncounsciousness
II. The Ego and the Id
III. The Ego and the Super-Ego (Ego Ideal)
IV. The two classes of Instinct
V. The dependent relationships of the Ego