What? It's in their name, dude. Nationalsozialistische Deutsche Arbeiterpartei, translates to National Socialist German Workers' Party.
Hitler split from the national socialists in 1926. In 1933 he purged the German government of socialists, communists, Jews and Democrats.