In 1804 he was transferred to Warsaw, at that time a Prussian town; and it was the full, varied, and, to a German, quite foreign life of this important city which gave Hoffmann's literary tendencies their decisive, final bent. Much that is mad and strange in his writings may be attributed to the wild, reckless joviality of the Warsaw days. In Warsaw he met Zacharias Werner, another author who was distinctly influenced by the social life of Poland in the beginning of the century. And here, whilst conscientiously fulfilling the duties of his appointment, he not only found time to cultivate his favourite art, music, and to frequent the society of other musical devotees, but also managed to decorate several halls with frescoes, to ornament a library with alto-reliefs executed in bronze, and to paint a room in the Egyptian style, adroitly introducing amongst the extraordinary representations of Egyptian gods, caricatures of his acquaintances, whom he provided with tails and wings. It was in Warsaw too that he conducted concerts for the first time.

In 1806, as every one knows, Prussian rule in Warsaw came to an end. Hoffmann saw the streets of the town crowded, first with the vanguard of the Russian army—Tartars, Cossacks, and Bashkirs—then with Murat's troops, watched the migrations of the races set in motion by Napoleon's campaign, and at last saw Napoleon himself, whom he, the good German, abhorred as a tyrant. In Dresden, in 1813, he was eye-witness of several small skirmishes and one battle; he walked over a battlefield, lived through a famine and a species of plague which followed in the train of the war—in short, his imagination was fertilised by all the horrors of the period, the first result being, characteristically enough, merely a set of funny caricatures of the French.

When still quite a young man, he had married a beautiful Polish lady, who made him a devoted and patient wife; it was probably thanks to her that, in spite of his overstrained nerves, he lived as long as he did. His marriage by no means precluded many passionate attachments to other women, but all these seem to have had their root rather in imagination than in any real feeling. Three days after a young lady with whom he was madly in love had engaged herself to another, he was perfectly happy, having cured himself of his passion by satirising it. He was helped to bear his woe by the pleasure of caricaturing it.

After figuring as a theatrical architect in Bamberg and conductor of an orchestra in Dresden, he went to Berlin, where he spent the last years of his life as a member of the Kammergericht (one of the principal courts of justice). As was natural, the astonishingly gifted man who could write books, improvise on the piano, compose operas, draw caricatures, and scintillate wit when he was in the humour, became a lion in social circles and a fêted frequenter of the taverns. He devoted a great share of his energy and talent to the observation of his own moods, which he watched closely and described day by day in a kind of diary.

Wine, which he only regarded as an exciting stimulant, was in reality much more than this to him. To it he owed much of his inspiration, his visions, those hallucinations which at first were fanciful, but became ever more serious. In his case intoxication actually produced a new kind of fantastic poetry. When under the influence of alcohol, he saw the darkness suddenly illuminated by phosphorescent light, or saw a gnome rise through the floor, or saw himself surrounded by spectres and terrible grimacing figures, which went on disappearing and reappearing in all kinds of grotesque disguises.

It was almost inevitable that this painstaking observer of his own moods and of the external peculiarities, more especially the oddities, of other men, should care little about nature. If he took a walk in summer, it was only to reach some place or other where he would be certain to meet human beings; and he seldom passed a pastry-cook's or a tavern without dropping in to see what kind of people frequented it. This explains the striking want of any feeling for fresh, open-air nature in his books. His mind was at home in a tavern, not in forest solitudes. But if his sense of the beauties of nature was weak, his enthusiasm for art was so much the more intense; genuine Romanticist that he is, half of his productions treat of art.

The peculiar, Romantic theory of human personality held by a poet of this temperament and this development was a product of over-impressionable and over-strained nerves and of irregular living. In his diary I find the following memoranda:—

"1804.—Drank Bischof at the new club from 4 to 10. Frightfully
agitated in the evening. Nerves excited by the spiced wine. Possessed
by thoughts of death and Doppelgänger.
"1809.—Seized by a strange fancy at the ball on the 6th; I imagine
myself looking at my Ego through a kaleidoscope—all the forms moving
round me are Egos, and annoy me by what they do and leave undone.
"1810.—Why do I think so much, sleeping and waking, about madness?"

It was a settled conviction with Hoffmann that when anything good befalls a man, an evil power is always lurking in the background to paralyse the action of the good power. As he expresses it: "The devil thrusts his tail into everything." He was haunted, says his biographer, Hitzig, by a fear of mysterious horrors, of "Doppelgänger" and spectral apparitions of every kind. He used to look anxiously round while writing about them; and if it was at night, he would often wake his wife and beg her to keep him company till he had finished. He imparted his own fear of ghosts to the characters he created; he drew them "as he himself was drawn in the great book of creation." It does not surprise us to learn that of his own works, he preferred those which contain the most gruesome pictures of madness or the weirdest caricatures—Brambilla, for instance.