Mohamed Salah made the difference for Liverpool on Steven Gerrard’s return as Aston Villa were beaten 1-0 at Anfield.
Salah won and converted the penalty midway through the second half to secure the three points and maintain the pressure on Premier League leaders Manchester City.
Gerrard, who was making his return as an opposition manager for the first time, set his team up to frustrate and did so for over an hour, but left with only good wishes for comfort.
Liverpool Alisson (6), Alexander-Arnold (7), Van Dijk (7), Matip (6), Robertson (7), Fabinho (7), Oxlade-Chamberlain (6), Henderson (7), Thiago (7), Mane (6), Salah (8).
Subs: Jota (6), Milner (n/a), Minamino (n/a).
Aston Villa: Martinez (7), Cash (7), Konsa (7), Mings (7), Targett (7), Nakamba (6), McGinn (7), Luiz (6), Ramsey (7), Young (6), Watkins (7).
Subs: Sanson (6), Buendia (6), Ings (6).
Man of the match: Mohamed Salah
How Liverpool won it
It was an emotionally-charged atmosphere at kick-off as there was applause for Ray Kennedy, winner of three European Cups at Liverpool, who died last month aged 70.
Thoughts were with Gerrard before and after, greeting the Kop with a shy wave upon emerging from the tunnel and then hearing his name sung loudly in the eighth minute.
But the Liverpool supporters turned their attention to the current players thereafter with Gerrard cast in the role of visiting manager sent to frustrate them. That is what Villa did.
Andy Robertson’s header was deflected awkwardly and well saved by Emiliano Martinez. Alex Oxlade-Chamberlain, in an advanced role, curled an effort just wide.
But Liverpool were restricted to half-chances throughout a fiercely contested first half in which three players were booked and many more robust challenges went in.
Jurgen Klopp made one change to his Liverpool side with Alex Oxlade-Chamberlain coming in to replace Diogo Jota who, after picking up a knock against Wolves, was on the bench.
Steven Gerrard made one change to the Aston Villa team that had beaten Aston Villa, Emiliano Buendia dropping to the bench with Matt Targett back in the starting line-up.
Villa were obdurate but, with Ollie Watkins up front, there is pace on the counter-attack too, although it was Ashley Young who almost nipped in when Alisson slipped.
It was well balanced at the break, with the boos that greeted the officials at half-time, an indication that Gerrard’s team were succeeding in making life very difficult.
The pressure was ramped up as Liverpool attacked the Kop in the second half, Virgil van Dijk’s header being tipped over by Martinez before Salah curled just wide.
Klopp sent Diogo Jota on after an hour and he was soon causing problems, his shot being blocked by Tyrone Mings who was doing everything to repel Liverpool.
Even the Villa captain could not cope with Salah. A drop of the shoulder set him away and induced the foul. The Egyptian beat Martinez from the spot and Anfield erupted in noise.
Jota was still hungry and almost doubled the lead after intercepting a back-pass to Martinez. Salah should then have finished it when put clean through by the unselfish Sadio Mane.
There was almost a twist when late substitute Danny Ings came close to capitalising on indecision between Alisson and Joel Matip but was unable to seize upon the loose ball.
Instead, Villa’s impressive defensive effort brought no reward. And Gerrard’s return became just another Premier League fixture at Anfield in which Salah stole the show.
Liverpool host Newcastle at 8pm on Thursday, while Aston Villa go to Norwich at 7.45pm on Tuesday. Watch free highlights from both games shortly after full time on Sky Sports.com, the Sky Sports App and the Sky Sports Football YouTube channel.