The Stasi was the official state security service of East Germany, the German Democratic Republic in short the GDR. The Stasi motto was "Schild und Schwert der Partei" (Shield and Sword of the Party). "The Party" was the ruling Socialist Unity Party of Germany. The main job of the Stasi was to prevent opposition to the Party.