West Ham moved out of the relegation zone with a 2-0 win at Cardiff City to ease the pressure on manager Sam Allardyce.
Allardyce has come under fire after the London club's run of seven Premier League games without a win and humiliating FA Cup and League Cup thrashings against Nottingham Forest and Manchester City respectively in the last week.
But Carlton Cole scored shortly before half-time at the Cardiff City Stadium on Saturday, before Mark Noble sealed the points in second-half stoppage time to ensure Cardiff replace Allardyce's men in the bottom three on goal difference.
West Ham had to dig deep for the victory as James Tomkins was sent off for a second bookable offence 18 minutes from time, and they also lost Guy Demel to what appeared to be a serious injury in the first half.
They were not to be denied three precious points, though, and Andy Carroll also made his first appearance of the season as a second-half substitute, the striker setting up Noble's goal as Ole Gunnar Solskjaer was beaten in his first home game in charge of Cardiff.
Record-signing Carroll was named in the West Ham squad for the first time since his close-season switch from Liverpool, while Allardyce made five changes to the side that was hammered at City in midweek.
Cardiff centre-back Mark Hudson made his first Premier League start, and new signing Magnus Wolff Eikrem was on the bench as Solskjaer also made five alterations to his starting line-up.
West Ham started brightly and Cardiff breathed a sigh of relief when Stewart Downing's fourth-minute cross from the right evaded everyone and struck the far post, before David Marshall denied Tomkins from the rebound.
Demel then became West Ham's latest injury victim when he was caught in the face by team-mate Roger Johnson's elbow after only seven minutes and was carried off wearing a neck brace following a lengthy stoppage.
Cardiff came tantalisingly close to opening the scoring after 31 minutes, when Kim Bo-Kyung’s shot deflected over Adrian and struck the crossbar before bouncing down on the line before Frazier Campbell fouled the goalkeeper following up.
The visitors made the most of that fortune 11 minutes later, as Matt Jarvis picked out Cole with a precise ball across the face of the goal and the striker made no mistake from six yards out.
Cardiff were almost caught out again a minute later, but Matt Taylor's right-foot effort whistled just past the far post.
The home side thought they should have had a penalty during 10 minutes of added time when Craig Noone went down under a George McCartney challenge, but referee Lee Mason waved play on.
Craig Bellamy made his return from injury when he replaced Peter Odemwingie at the break and the evergreen forward wasted no time in making an impact, as he swung in a free-kick that was headed over the bar by an unmarked Hudson.
Cardiff piled on the pressure and Adrian produced a fine reflex save to deny the lively Campbell 12 minutes into the second half after an inviting cutback from Bellamy.
Norway midfielder Eikrem came on to make his debut after 64 minutes and Bellamy curled a free-kick just wide six minutes later as the hosts' frustration grew.
Carroll replaced Cole a minute later to warm applause from the travelling fans, but West Ham were reduced to 10 men when Tomkins was shown a second yellow card for a high challenge on Campbell in the 72nd minute.
However, the visitors stood firm and Noble sealed the points in stoppage time when he drilled the ball into the far corner after being played in by Carroll.
|No back-three fears for Spain boss Del Bosque|
|Grigg fired by Euro bench duty|
|Davis: Stranger things have happened than O´Neill to Southampton|
|Gunnarsson insists Iceland do not fear England|
|Brilliant Hazard inspires Belgium´s golden boys|
|Student Morata wants to bring down Juventus masters with Spain|
|Hungary 0 Belgium 4: Hazard inspires Wilmots´ men into quarter-finals|
|Conte demands extraordinary Italy to topple Spain|
|Nolito: No contact with Barca or Man City|
|Alves jets into Turin for Juve medical|
|Low: No sleepless nights over Italy or Spain|
|Kozak: Germany had too much quality|
|Fury gets in the spirit with England fans in Nice|
|Draxler shares the plaudits as Germany move through|
|O´Shea not drawn on Ireland future|
|Rami: France were scared of going out|
|Germany 3 Slovakia 0: Spain or Italy await for world champions after comprehensive win|
|Brilliant Boateng gets Germany juggernaut motoring|
|Lagerback hopes England´s attacking struggles will continue|
|Juventus, Napoli and Roma ´all interested in De Sciglio´|
|O´Neill hails coming of age for Ireland´s youngsters|
|England will not disrespect Iceland, says Rooney|
|Deschamps stands firm on team changes|
|Hodgson adamant he is happy with England strikers|
|Evra: We knew it would be difficult|
|Deschamps: We had to dig deep|
|Rooney: Do not question Sterling´s attitude|
|O´Neill: France´s extra rest took its toll|
|France star Payet: It is difficult to stop us|
|Griezmann: Stern words led to second-half fightback|
|Coleman: We felt it was there for us|
|Deschamps defies doubters as France heed call to arms|
|Konko ´in talks´ to join AC Milan|
|Sigurdsson looking forward to dream England clash|
|Cacic: Croatia´s time will come|
|Italy v Spain will be different to Euro 2012 final - Camoranesi|
|France 2 Republic of Ireland 1: Griezmann double rescues hosts|
|Capello: Spain are pure magic|
|Wolfsburg complete Bruma signing|
|Koke: Spain need to bring back ´The Red Fury´|
|Pizzi: Chile can beat Messi and Argentina|
|Schalke swoop for Swiss star Embolo|
|Subotic signals intention to leave Dortmund|
|Howedes eager for France showdown|
|Russia confirm Slutsky resignation|
|Pirlo: Italy out for Spain revenge|
|Vokes consoles McAuley after Wales march on|
|Italy-Spain a battle of world´s best - Llorente|
|Messi one win away from becoming the greatest|
|Play-offs the goal as Baptista settles into life in Orlando|
|Colombia closer to winning titles - Pekerman|
|MLS Review: Kaka scores 100th-minute penalty in thriller, Lampard inspires NYC|
|Portugal ´don´t have a clue how they scored´ – Rakitic|
|Klinsmann: USA should be proud of Copa America display|
|United States 0 Colombia 1: Bacca secures third place at Copa America|
|Corluka: Portugal among worst teams at Euro 2016|
|Sanches happy to be involved as Portugal reach quarters|
|Euro 2016 Diary: Shaqiri rivals Pique for Shakira´s affection, Bale reveals secret weapon|
|Morata: I have nothing to prove to Zidane|
|Di Maria fit for Copa final|
|´You do not always win by playing prettily´ - Santos unconcerned by dour Portugal|
|The best team lost, says disconsolate Cacic|
|Fabianski: Poland must create more for Lewandowski|
|McAuley pride after crushing Wales loss|
|Ronaldo takes one for the team as Portugal emerge from drudgery in Lens|
|Croatia 0 Portugal 1 (aet): Quaresma earns quarter-final berth|
|Hodgson will not beg for FA approval after Euro 2016|
|Emotional Bale glad to share Paris joy with family|
|O´Neill left frustrated by officials following Euro 2016 exit|
|Coleman hails Bale brilliance in Wales win|
|Low relying on Kroos to lead Germany the way|
|Italy v Spain: Thiago denies shirt jinx ahead of Azzurri clash|
|O´Neill: McAuley has been magnificent|
|Szczesny thanks Swiss fans for drink|
|Hector: Slovakia have plenty of quality in attack|
|Morata: Italy defenders have told me to wear a helmet|
|Coleman content with scrappy Wales progression|
|Wales remain and Northern Ireland leave after Paris battle|
|We are free of pressure - Gera|
|´Do I look like I have doubts?´ - Defiant Nawalka defends Lewandowski|
|Wales 1 Northern Ireland 0: McAuley´s woe is Welsh joy|
|No chance Barcelona star Neymar will join Madrid, says his father|
|Witsel happier to face Hungary than Spain|
|Wilmots accepts pressure ahead of Hungary test|
|Slovakia can upset Germany again - Pekarik|
|Shaqiri unhappy with Poland celebrations after Euro 2016 exit|
|Grosicki struggled to watch Poland shootout win|
|Poland need Lewandowski to rediscover ruthless streak|
|Switzerland 1 Poland 1 (aet, 4-5 pens): Xhaka shocker costs Swiss after Shaqiri magic|
|Payet can handle hero status - Deschamps|
|Redmond joins Southampton on five-year deal|
|Sturridge: Sterling unfairly targeted over England performances|
|Wilmots: I want more from smiling De Bruyne|
|Croatia star Perisic unveils latest wacky hairstyle|
|Brazil´s Lucas Lima wants European move|
|Lloris tempers talk of Ireland revenge mission|
|Deschamps refuses to make France ´98 comparisons|
|O´Neill confident Ireland can shock France|
|Chiellini will give Morata a few kicks - Barzagli|
|England v Iceland: Rooney targets early goal|
|Italy´s Candreva ruled out of Spain match|
|Butland ready for pre-season after scan gives goalkeeper all-clear|
|Origi not underestimating Hungary|
|Plans drafted for Old Firm games to be played abroad|
|Boost for Germany as Boateng trains ahead of last 16|
|I never saw Ronaldo look in the mirror! - Ancelotti|
|Fabregas fears Brexit will damage Premier League|
|Roy not keen on Ireland allocation|
|Dyke backs Hodgson for new contract|
|Spain not as aggressive as 2012, claims Ancelotti|
|Ronaldo and Messi need each other – Ancelotti|
|Juve on the same level as Madrid and Barcelona - Dybala|
|Fabregas: Conte´s Italy will be tough|
|Argentina v Chile: New year, same Copa finalists|
|Ronaldo ´cannot be the whole of Portugal´ - Shilton|
|Messi: Neymar is an amazing person|
|Pekerman keen to finish Copa on high note|
|Rakitic: Ronaldo won´t sleep easily|
|Messi: Now is not a time to give nothing|
|Courtois expects to leave Chelsea in future|
|Less rest no problem for Portugal - Joao Mario|
|Euro 2016 Diary: Benteke rap and Nelly the elephant|