After the end of the Spanish Civil War in 1939 the Basque Government -headed by the Basque nationalist leader José Antonio Aguirre- went to exile. It remained in exile until 1979.