Real Sociedad and Villarreal face each other this weekend looking to continue their rare run for the Spanish league title.

League leader Sociedad hosts third-place Villarreal on Sunday, with Barcelona and Real Madrid continuing to struggle.

Sociedad won the league in 1981 and ‘82 but hasn’t finished better than second since 2003, while Villarreal's lone second-place finish in 2008 was its best campaign ever.

Real Sociedad's Portu reacts during the Europa League Group F soccer match between Real Sociedad and AZ Alkmaar at the Anoeta stadium in San Sebastian, Spain,Thursday, Nov 5, 2020. (AP PhotoAlvaro Barrientos)

Real Sociedad's Portu reacts during the Europa League Group F soccer match between Real Sociedad and AZ Alkmaar at the Anoeta stadium in San Sebastian, Spain,Thursday, Nov 5, 2020. (AP PhotoAlvaro Barrientos)

Atlético Madrid, the only team to have won the league other than Real Madrid and Barcelona in the last 16 seasons, has been doing its part to remain in contention. Second-place Atlético trails Sociedad by three points, and leads Villarreal by one point, but has played two fewer games than both teams.

Real Madrid is in fourth place with a game in hand but is coming off two winless games in the league. Barcelona, which has only one win in its last six league matches, is 13th with two games in hand. The Catalan club is six points behind Madrid and nine points behind Atlético.

Sociedad will host Villarreal without one of its top playmakers, David Silva, because of a muscle injury in his left leg. The former Spain international has been key for Sociedad since joining from Manchester City this season. Sociedad also won’t have midfielder Jon Guridi because of a muscle injury.

Villareal's Gerard Moreno , left, celebrates his goal during the Spanish La Liga soccer match between Villarreal and Real Madrid in Ceramica stadium in Villarreal, Spain, Saturday Nov. 21, 2020. (AP PhotoAlberto Saiz)

Villareal's Gerard Moreno , left, celebrates his goal during the Spanish La Liga soccer match between Villarreal and Real Madrid in Ceramica stadium in Villarreal, Spain, Saturday Nov. 21, 2020. (AP PhotoAlberto Saiz)

The Basque Country club is one of the hottest teams in Spain, having won sixth straight league games and outscoring opponents 17-2 in that run.

Villarreal, which finished fifth in the league last season, is unbeaten in 10 matches in all competitions since a league loss to Barcelona in September. It has seven victories and three draws since then and is coming off a 1-1 draw against Real Madrid at home.

Before making the trip for the match against Sociedad, Villarreal plays Maccabi Tel-Aviv on Thursday in the Europa League.

Villareal's Carlos Bacca reacts after scoring the opening goal during a Europa League Group I soccer match between Villarreal and Maccabi Tel-Aviv at the Ceramica stadium in Villarreal, Spain, Thursday, Nov. 5, 2020. (AP PhotoAlberto Saiz)

Villareal's Carlos Bacca reacts after scoring the opening goal during a Europa League Group I soccer match between Villarreal and Maccabi Tel-Aviv at the Ceramica stadium in Villarreal, Spain, Thursday, Nov. 5, 2020. (AP PhotoAlberto Saiz)

“It’s a challenging week for us,” said Villarreal coach Unai Emery, who returned to Spanish soccer this season after stints with Paris Saint-Germain and Arsenal. “First it was Real Madrid, now we try to qualify in the Europa League, and then on Sunday we face the Spanish league leader. We will see how the team responds.”

In addition to signing Emery, Villarreal made some key additions to the squad this season, including former Valencia playmaker Dani Parejo, French midfielder Francis Coquelin and young Japan forward Takefusa Kubo, who arrived on a loan from Real Madrid.

Emery will rest midfielder Moi Gómez in the Europa League match on Thursday so he can be fully fit for the game against Sociedad.

Villareal's Carlos Bacca reacts after scoring the opening goal during a Europa League Group I soccer match between Villarreal and Maccabi Tel-Aviv at the Ceramica stadium in Villarreal, Spain, Thursday, Nov. 5, 2020. (AP PhotoAlberto Saiz)

Villareal's Carlos Bacca reacts after scoring the opening goal during a Europa League Group I soccer match between Villarreal and Maccabi Tel-Aviv at the Ceramica stadium in Villarreal, Spain, Thursday, Nov. 5, 2020. (AP PhotoAlberto Saiz)

Sociedad is also playing in the Europa League. It visits AZ Alkmaar on Thursday.

Real Madrid, coming off a Champions League win against Inter Milan, hosts Alavés on Saturday, while Barcelona, already through to the Champions league knockout stage, hosts Osasuna on Sunday. Atlético Madrid, held by Lokomotiv Moscow to a home draw in the Champions League on Wednesday, visits midtable Valencia on Saturday.

More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports

Tales Azzoni on Twitter: http://twitter.com/tazzoni