The book centers on the life of Poprishchin, a low-ranking civil servant and titular counsellor who yearns to be noticed by a beautiful woman, the daughter of a senior official, with whom he has fallen in love. His diary records his gradual slide into insanity. As his madness deepens, he begins to suspect two dogs of having a love affair and believes he has discovered letters sent between them. Finally, he begins to believe himself to be the heir to the throne of Spain. When he is hauled off and maltreated in the asylum, the madman believes he is taking part in a strange coronation to the Spanish throne. Only in his madness does the lowly anti-hero attain greatness.