The party began in Munich in January 1919 as the German Workers' Party, one of many small nationalist groups that sprang up in the bitterness of defeat. Adolf Hitler joined that autumn. In 1920 it was renamed the National Socialist German Workers' Party and adopted a twenty-five-point program that demanded the cancellation of the Treaty of Versailles, union of all Germans in one state, colonies and land for settlement, and the exclusion of Jews from citizenship. The name was chosen to draw workers away from Marxist Socialism; some early anti-capitalist language soon faded. Hitler became its absolute leader in 1921 and gave it a swastika flag, a salute, and a brown-shirted paramilitary wing, the SA, which fought communists in the streets.
After the failed Beer Hall Putsch of 1923 the party was rebuilt as a national organization aiming to win power legally. It remained marginal while the Weimar Republic prospered, taking 2.6 percent of the vote in 1928. The Great Depression transformed its fortunes. As unemployment soared and governments ruled by emergency decree, the Nazis rose to 18 percent in 1930 and 37 percent in July 1932. Their voters came disproportionately from the Protestant Middle Class (Bourgeoisie), small towns and the countryside, but they drew support from every social group, helped by modern campaigning: mass rallies, posters, loudspeakers and Hitler's tours by airplane. They promised work and bread, national revival, order against Communism, and a scapegoat in the Jews.
Once Hitler was chancellor, the party merged with the state. A law of July 1933 made it the only legal party. Its organizations, including the Hitler Youth, the Labor Front and the women's league, reached into every workplace and neighborhood, and local block wardens reported on residents. The SS, originally Hitler's bodyguard, grew under Heinrich Himmler into a vast police, military and camp empire after the SA's leaders were killed in 1934. Membership climbed from under a million at the takeover to roughly eight million by 1945.
The victorious Allies banned the party in 1945, declared its leadership and the SS criminal organizations at the Nuremberg Trials, and carried out a program of denazification in occupied Germany.