Striker Daniel Sturridge came off the bench to play a pivotal part in Liverpool snatching a winner in the fifth minute of added time of the 227th Merseyside derby.
The England international, making his first appearance since November 19, was a late introduction off the bench and it was his crossfield run and shot against a post which presented Sadio Mane with a tap in.
Sturridge has been sidelined with a calf injury, but having been included in the match-day squad for the first time he proved his match-winning capabilities again with the incisiveness which had been so lacking for long periods.