(CNN) -- West Ham moved off the bottom of the English Premier League with a 3-1 win at Fulham on Sunday to ease the pressure on manager Avram Grant.
Carlton Cole scored twice and Frederic Piquionne grabbed the other as the Hammers came from behind to secure a precious away victory.
It brought them level on points with Fulham, who drop into the bottom three after a sorry run which has left question marks over their manager Mark Hughes.
Wigan's later 2-1 win at Wolves saw the home side drop to bottom in place of West Ham.
Former Chelsea boss Grant was relieved: "It was a good game for us -- we came back which was amazing. Fulham had a lot of possession and they were controlling it without creating chances," he told Sky Sports.
"I didn't like the goal we conceded but we scored three and we could have scored more so I'm happy.
"The players are happy with the win and they want to taste it again."
Grant gave Freddie Sears his first Premier League start since March 2009 after recalling him from loan at Scunthorpe and the youngster played a key role in the win.
But they fell behind after 11 minutes as a corner from Simon Davies was headed home by Aaron Hughes.
Andy Johnson should have put Fulham further ahead as the home side dominated the early proceedings, but they were made to pay in the 37th minute as Cole equalized.
Sears' cross was intercepted by Dickson Etuhu but the midfielder's clearance fround Cole, who scored from close range.
In first half stoppage time, West Ham went ahead as Piquionne volleyed home Scott Parker's cross.
Hughes took off Clint Dempsey and Etuhu for Damien Duff and Eddie Johnson, after the break, a move greeted with jeering from Fulham fans.
But Johnson should have leveled as he raced clear but saw his effort blocked by West Ham goalkeeper Rob Green.
Fulham's hopes were ended in the 73rd minute as Hughes made a hash of cutting out a long ball and headed straight to Cole, who scored with a fine drive.