Trent Alexander-Arnold's superb stoppage-time goal helped Liverpool come from behind to beat Aston Villa 2-1 for a first home win since 16 December that boosted their hopes of a top-four finish.
Liverpool started strongly and Mohamed Salah had their best chance, but shot wide when through on goal.
Villa went ahead two minutes before half-time against the run of play, Ollie Watkins controlling John McGinn's pass before firing beneath Alisson.
Salah drew Liverpool level on 57 minutes with their first goal from open play at Anfield in 765 minutes, nodding in after Emiliano Martinez had saved Andrew Robertson's shot.
Trezeguet almost restored Villa's lead but his shot hit a post, before he headed the rebound wide.
In added time, shortly after Martinez had saved spectacularly from Thiago, Alexander-Arnold curled the ball brilliantly into the far corner to win it.
After ending a run of six straight home defeats Liverpool lie fifth on 52 points, two points behind fourth-placed Chelsea, while Villa are 10th on 44 points.
See: Liverpool report | Aston Villa report
Next fixtures
Liverpool: 19 Apr v Leeds (A)
Aston Villa: 21 Apr v Man City (H)
Match officials
Referee: Paul Tierney. Assistants: Simon Bennett, Constantine Hatzidakis. Fourth official: Chris Kavanagh. VAR: Andy Madley. Assistant VAR: Adrian Holmes.
WHO'S GOING TO BE YOUR
MAN OF THE MATCH?
Vote at Full-time