Crystal Palace captain Marc Guehi scored a dramatic late header to secure victory over Fulham and lift the Eagles into the Premier League's top four.
It had looked like the points would be shared after an entertaining but even match at Craven Cottage.
But the Palace captain popped up to fire home from a corner with three minutes remaining of normal time remaining to make it back-to-back wins on the road for Oliver Glasner's side.
Harry Wilson's sumptuous curled finish seven minutes before the break had cancelled out Eddie Nketiah's confident 20th-minute strike for Palace.
Both sides pressed for a winner in the second half but neither were able to apply the final piece of quality before Guehi's impressive winner.
The Cottagers thought they had won the game themselves when Emile Smith Rowe tapped in the rebound after Alex Iwobi's header came back off the bar but it was chalked off with Samuel Chukwueze narrowly offside in the build-up.
Instead, defeat is Fulham's second this week following a nine-goal thriller with Manchester City on Tuesday and leaves them 15th in the table, four points above the drop zone.
Palace have struggled this season to meet the demands of juggling Premier League and European football but Glasner's side once again found a way and could be rewarded further for their efforts with Champions League football a genuine possibility.
Crystal Palace analysis: Guehi finds a way for Eagles
Glasner on Palace win over Fulham - 'We deserved to be lucky'
Glasner has not kept his opinions to himself this season when it comes to the club's spending and failure to reinvest the club-record £60m received from the sale of Eberechi Eze.
Without Ismaila Sarr at his disposal because of an ankle injury, not for the first time this season it was Daniel Munoz who stepped up for Palace in a narrow 1-0 win over Burnley in midweek, scoring his third league goal of the season.
But the full-back was absent from Glasner's squad on Sunday because of a minor knee injury with Nketiah handed a first top-flight start of the season.
The 26-year-old took his opportunity when it came but for much of the second half it looked like Palace would be heading back across London with only one point as they created chances but were unable to find a goal.
Palace have failed to win all four of their league matches after a European game and this looked like it could be a familiar tale following a league trip up north in midweek.
Jean Philippe Mateta dragged an effort wide before Yeremy Pino and Christantus Uche both went close, the latter sliding in but being denied by Bernd Leno moments before Guehi's header.
The England defender's future at the club has been a topic of discussion for some time with persistent interest from Liverpool and Newcastle and, with mere months left on the 25-year-old's contract, that interest will surely remain in January.
Not only is his sturdiness at the back a large part of why Palace's defence has been near impenetrable this season - they have the best defensive record in the league behind only Arsenal - but he has now contributed to goals in back-to-back matches.
He provided the assist for Munoz earlier in the week before netting his second goal of the season here and while Glasner has bemoaned the lack of signings, keeping hold of Guehi in the summer is proving to be a key piece of business.
Fulham analysis: Wilson strike highlight in disappointing defeat
Silva 'very dissapointed' after Fulham's 2-1 loss to Palace
Marco Silva's side showed they are capable of scoring goals and hanging in games no matter the deficit when they almost came back from four goals down on Tuesday but ultimately lost 5-4.
But scoring goals against a defence as compact as Palace's was always going to be tough and it required a moment of magic from Wilson to find the equaliser.
The Welsh winger played a lovely one-two with Alex Iwobi before unleashing a delicious curled effort with the outside of his boot and that looked like it would be the moment of the match before Palace found the winner.
The Cottagers had clearly taken confidence from their display in midweek, Calvin Bassey was a bright spark in the middle of the park and they created no shortage of opportunities.
But another narrow loss will serve as a disappointing result for Silva's side, who are at risk of being dragged into a relegation battle if consistency does not improve.
What's next for these sides?
Fulham will aim to bounce back from back-to-back defeats when they travel to struggling Burnley on Saturday, 13 December (17:30 GMT).
Crystal Palace have a tough week with a trip to Shelbourne on Thursday, 11 December (20:00 GMT) in the Europa Conference League before hosting Manchester City on Sunday, 14 December (14:00 GMT) in the Premier League.
Player of the match
After the opportunity to rate players has closed, the score displayed represents the average from all the submissions by BBC Sport users.