With the fall of the Nazi regime in 1945 , the Horst-Wessel-Lied was banned , and both the lyrics and the tune remain illegal in Germany and Austria to this day except for educational and scholarly uses ( under sections 86 and 86a of the Strafgesetzbuch ) . With the end of the Nazi regime in 1945 , the Horst-Wessel-Lied was banned , and the lyrics and tune are illegal in Germany and Austria except for educational purposes .