Jota scored his goals before Neco Williams’ deflected equalizer and Morgan Gibbs-White’s potential point-earning strike.
However, Liverpool’s Mohamed Salah scored his 27th goal of the season, placing him at number six on the club’s all-time goal-scoring list, to secure the win.
Meanwhile, in Dean Smith’s first home game in charge, Leicester boosted their Premier League survival chances by overcoming Wolves.
The Foxes’ Timothy Castagne scored the decisive goal, lifting them out of the relegation zone on goal difference.
Despite Ruben Neves’ free-kick attempt being tipped over the bar by Leicester keeper Daniel Iversen, Wolves failed to secure an equalizer, allowing Leicester to clinch a crucial victory.
Leicester moved up to 17th place in the Premier League, while Wolves remained in 13th place, six points clear of the relegation zone.
In the other results, Brentford and Aston Villa Played out a 1-1 draw and Crystal Palace played out a goalless draw with Everton.