Lionel Messi scored for the first time at the Wanda Metropolitano to lift Barcelona to the top of LaLiga with a 1-0 victory over Atletico Madrid.

Barca hit the crossbar and Atletico struck a post, while Marc-Andre Ter Stegen and Jan Oblak displayed why they are two of the best goalkeepers in the world as the game appeared to be heading for a draw.

But Messi had other ideas in the 85th minute, beating Oblak with a composed finish from the edge of the area to ensure Barca leapfrogged Real Madrid to the summit on goal difference.

The defeat was Atletico's first in 11 league games, but they have won only three of them and sit six points off the pace.

The win saw Barca return to the top of the standings with 31 points after 14 games, ahead of Real Madrid on goal difference, while Atletico were left in sixth spot on 25 points, having played one match more than Barca and Real. 

Earlier in the day Sevilla beat basement club Leganes 1-0 at home in an enthralling encounter.

Sevilla defender Diego Carlos struck the only goal in the 63rd minute of an end-to-end game, blasting into the roof of the net from close range inside a crowded penalty box after Jules Kounde's overhead kick was parried.

Leganes produced a gutsy and bold display and created numerous chances to score throughout the game, with Moroccan forward Youssef En-Nesyri almost giving them the lead with a vicious bicycle kick early in the second half.

They laid siege to Sevilla's area in added time but Julen Lopetegui's side clung on, surviving nervy final seconds when a VAR review took place to determine whether the visitors should be awarded a penalty for pushing in the box.

Athletic Bilbao's good form continues - the Basque outfit dispatched free-falling Granada 2-0 with a Raul Garcia penalty and a late Yuri Berchiche goal at San Mames.

Elsewhere, Osasuna came from behind to conquer relegation-threatened Espanyol 4-2.

Marc Roca's 20th-minute spot-kick was cancelled out by Ruben Garcia before Ezequiel Avila, Jon Moncayola and a late Roberto Torres penalty pushed Los Rojillos well clear, despite Facundo Roncaglia's dismissal leaving them a man down. Right at the death, Jonathan Calleri provided some consolation for the hosts with his first goal for the club.

Getafe thrashed Levante 4-0 as Leandro Cabrera, Jorge Molina Vidal, Angel Rodriguez and David Timor all got on the scoresheet.