Bournemouth eased some of the pressure on manager Eddie Howe with a crucial 3-1 win over Brighton.
The Cherries' woeful recent form has raised questions about Howe's future for the first time in his 11 years in the dugout.
But strikes from Harry Wilson and Callum Wilson, either side of a Pascal Gross own goal, secured a much-needed win to lift Bournemouth to 18th, level on points with West Ham.
A poor headed clearance from Lewis Dunk fell to Dominic Solanke, who guided the ball into the path of Harry Wilson, the midfielder taking a touch before smashing it past Mathew Ryan with the aid of a deflection.
Howe remained motionless on the sidelines, but five minutes later his side were celebrating again as Gross, tussling on the goalline with Callum Wilson, turned Rico's corner into his own net.
Brighton boss Graham Potter, whose side are a bit too close to the relegation zone for comfort themselves, had seen enough and made a triple substitution with Solly March, Galway teenager Aaron Connolly and Leandro Trossard sent on.
The visitors began to threaten, but Ramsdale came to the fore, bravely denying Dunk from point-blank range and beating away Maupay's fierce drive and Mooy's curler.
Instead Bournemouth finally had Howe punching the air in delight when Solanke set up Callum Wilson to round Ryan for the third.
Mooy pulled one back when his shot crashed in off the far post with 10 minutes left.