Meanwhile, the Francoist armies attacked the XYZ Line north of Valencia with the intention of capturing the Republican capital, instead of advancing towards Barcelona, fearing that France would enter the war in support of the ailing Republic. In response to the situation, Spanish premier Juan Negrín approved a plan by General Vicente Rojo Lluch to launch attacks against the main Francoist forces advancing towards Valencia. The purpose of the attacks was to relieve the pressure on Valencia and Catalonia, as well as to show European governments that the Republican government was still viable.