The lyrics of the song were composed in 1929 by Horst Wessel , a Nazi activist and local commander of the Nazi militia , the SA , in the Berlin district of Friedrichshain . The lyrics were written in 1929 by Horst Wessel , commander of the SA in the Friedrichshain district of Berlin .