If you were a high ranking government official you were shot or hanged, if you were a low level one you were generally allowed to keep your post as long as you kept your head down (until the 80s in the west and forever in the East), and if you were gestapo you were recruited into the Stasi by the Soviets
Latest Answers