Match ends, Bournemouth 3, Swansea City 2.
Bournemouth secured a third successive league win with a dramatic victory over Swansea which moved them 13 points clear of the relegation zone.
Max Gradel slotted the home side in front after a cross was palmed into his path but Modou Barrow cut in from the right and curled in a shot to equalise.
Joshua King drilled in a strike to restore Bournemouth's lead, only for Gylfi Sigurdsson to fire in and level.
But Steve Cook headed in late on to clinch the win for the Cherries.
Are Bournemouth safe?
The Cherries have earned 10 points from their last four games and, while that may not secure their Premier League survival mathematically, to the home crowd it will feel like they have one foot in next season's top flight.
Eddie Howe's side have now won eight of their last 16 league games - form that has earned them mid-table status.
With difficult matches coming up against Tottenham and Manchester City, and a run-in which includes trips to Everton and Manchester United, Bournemouth have won the games they needed to win.
"We still feel we have more work to do but we are moving in the right direction," said Howe. "We have to keep achieving. We go into a tough run of fixtures but ones we can look forward to."
Gradel reacted to his neat, low finish to open the scoring by running straight to the Bournemouth bench to celebrate with the backroom team.
After a lengthy spell in the treatment room with a cruciate knee injury, the midfielder's joy at scoring his first goal of the season was clear for all to see.
"One thing came in my mind and that was to thank the coach, he did a lot for me," the 28-year-old said. "When people are loyal to you, you have to give something back.
"Twice [the knee injury] happened to me and it is never easy. The coach believed in me and when I was thinking that I couldn't give up and I was thinking of my family."
Defeat was Swansea's first since head coach Francesco Guidolin was admitted to hospital with a chest infection on 2 March.
Despite having been released on Monday, the Italian sat out Saturday's game to aid his recovery, leaving first-team coach Alan Curtis to lead touchline duties once again.
The Swans had been impressive in their two back-to-back wins without the 60-year-old, partly thanks to the in-form Gylfi Sigurdsson.
But the Iceland international's seventh goal in 11 games was not enough to earn the visitors a point, though they are eight points clear of the drop zone.
Man of the match - Joshua King
Bournemouth boss Eddie Howe: "Swansea showed good character but our lads showed even better character to deal with those setbacks and find another gear."
On Max Gradel's goal: "It meant everything the club and everything to the player himself who has had a difficult time [through injury]. But the way he has come back is a breath of fresh air."
Swansea manager Alan Curtis: "I thought we gave them three goals. They were individual mistakes. We got ourselves back in and had chances to go in front but it wasn't to be. We are disappointed. We need to lift ourselves now.
"Forty points is what we are aiming for. Once we get there - if we get there - we will push on. There is still a lot of work to do."
The stats you need to know
- Bournemouth have won back-to-back Premier League home games for the first time.
- Max Gradel scored his first Premier League goal and his first in English league football since August 2011 (for Leeds).
- Matt Ritchie now has 26 assists in league football for Bournemouth, 10 more than any other player at the club since he signed in January 2013.
- Modou Barrow became the first Gambian to score a Premier League goal, meaning that 95 different nationalities have now netted in the Premier League.
- Only Norwich City (0) have kept fewer clean sheets away from home this season than Swansea City (1).
- Sergio Aguero (9) is the only player to have scored more Premier League goals in 2016 than Gylfi Sigurdsson (7).
Bournemouth travel to title-chasing Tottenham on Sunday 20 March, while Swansea host bottom club Aston Villa on Saturday 19 March.
- 15A Smith
- 3S Cook
- 4GoslingBooked at 34minsSubstituted forO'Kaneat 45'minutes
- 10GradelSubstituted forPughat 76'minutes
- 20AfobeSubstituted forGrabbanat 65'minutes
- 8FerSubstituted forKi Sung-yuengat 84'minutes
- 58BarrowSubstituted forEmnesat 80'minutes
- 23G Sigurdsson
- 15RoutledgeSubstituted forGomisat 60'minutes
- 4Ki Sung-yueng
- Roger East
- Shots on Target
Second Half ends, Bournemouth 3, Swansea City 2.
Foul by Neil Taylor (Swansea City).
Matt Ritchie (Bournemouth) wins a free kick in the defensive half.
Attempt blocked. Marvin Emnes (Swansea City) right footed shot from the right side of the box is blocked. Assisted by Neil Taylor with a cross.
Angel Rangel (Swansea City) wins a free kick in the defensive half.
Foul by Marc Pugh (Bournemouth).
Neil Taylor (Swansea City) wins a free kick in the defensive half.
Foul by Joshua King (Bournemouth).
Foul by Ki Sung-yueng (Swansea City).
Adam Smith (Bournemouth) wins a free kick in the defensive half.
Substitution, Swansea City. Ki Sung-yueng replaces Leroy Fer.
Corner, Bournemouth. Conceded by Lukasz Fabianski.
Attempt saved. Lewis Grabban (Bournemouth) right footed shot from outside the box is saved in the top centre of the goal. Assisted by Eunan O'Kane.
Attempt blocked. Joshua King (Bournemouth) right footed shot from outside the box is blocked.
Substitution, Swansea City. Marvin Emnes replaces Modou Barrow because of an injury.
Goal! Bournemouth 3, Swansea City 2. Steve Cook (Bournemouth) header from the centre of the box to the bottom right corner. Assisted by Matt Ritchie with a cross following a corner.
Corner, Bournemouth. Conceded by Ashley Williams.
Attempt blocked. Joshua King (Bournemouth) right footed shot from the centre of the box is blocked. Assisted by Marc Pugh.
Attempt saved. Alberto Paloschi (Swansea City) right footed shot from the right side of the box is saved in the top left corner.