Spain’s conservative Popular Party won a historic majority in Andalusia’s regional election Sunday, a poll widely regarded as a litmus test ahead of general elections next year.

Left-wing parties saw their vote share drop in the region, a stronghold of the Socialist Party (PSOE) for nearly 40 years after the country’s return to democracy in the late 1970s.

The PP’s regional candidate, Juan Manuel Moreno, who represents the moderate camp in the conservative party in line with its national leader Alberto Feijóo, secured 43% of the vote to take 58 of the 109 seats in the regional chamber.