Which figure of speech is used in this text?

Once upon a midnight dreary, while I pondered, weak and weary...
-Edgar Allan Poe, "The Raven"