During the collapse of the communist regime in the autumn of 1989 both the long-time dictator of East Germany Erich Honecker and the long-time head of the Stasi Erich Mielke resigned from their positions .