Georginio Wijnaldum opened the score line in the 9th minute.
West Ham equalised in the 11nt minute, just two minutes later.
Roberto Firmino was wasteful with his passes and he missed a lot of goal chances.
Pablo Fornals put West Ham in front but it didn't lasted for long.
Mo Salah equalised in the 68th minute after a terrible mistake by West Ham goalkeeper Fabianski and a great assist from Robertson.
In the 81st minute Mane made Liverpool turnaround complete as he netted the ball after a mistake in defence.
Liverpool win another three points as West Ham might face relegation.