Answer
During the Spanish Civil War, Lluís Companys served as the president of Catalonia from 1934 to 1940. He was a prominent figure in the Catalan independence movement and was elected president of the Generalitat de Catalunya, the autonomous government of Catalonia, in 1934. During his presidency, Companys pursued policies aimed at greater autonomy for Catalonia within the Spanish Republic.