When Hitler returned to Munich from military service in 1918, he became a member of the Nazi Party, an extremist far-right political party in Bavaria. In 1921, he was elected leader of the party. As his speeches promoted violence and racism, Hitler needed permanent security.