West Ham captain Mark Noble has called the win over Swansea their "biggest in a few years", as the Hammers moved eight points clear of danger.
Cheikhou Kouyate's goal gave West Ham the win at the London Stadium as they ended a run of five successive defeats.
The Hammers are 14th with six games remaining and Noble thinks one more win should secure their top-flight status.
"We haven't been good enough for a couple of months, but this should release the pressure," he said.
Prior to the game, Slaven Bilic's side had gone seven games without a win and had won only once in nine to be dragged into the relegation battle.