In 1939, once Catalonia was occupied by the army of general Franco during the last stages of the Civil War, its regime abolished the Court of Cassation and all of its Court judgments were declared without legal effect until 1984, five years after the restoration of Catalan self-government.