It was impossible to sleep. Anxiety stopped me from falling asleep; depression woke me up.
or simply: