Ten-man Ebbsfleet claimed a dramatic victory against bottom club Bath.
Nathaniel Pinney's close range effort had given the visitors the lead, before Bath levelled when Gethin Jones headed home Lewis Hogg's cross.
Preston Edwards then saw red for the Fleet, but they managed to regain the lead when Ricky Shakes fired home.
Gozie Ugwu claimed the visitors' third with a neat finish before the hosts' Sean Canham set up a nervy ending with a shot from just inside the box.
VIEWS FROM THE DRESSING ROOM
Ebbsfleet manager Liam Daish told BBC Radio Kent:
"It was a massive three points for us, the biggest three points of the season for where we are, but it was a tough game.
"I can't say how important those points are.
"When Ricky (Shakes) comes on he's got that pace and directness and he took his goal superbly. But everyone who came on and got involved played their part.
"He (Preston Edwards) has had a rush of blood. It's been highlighted before where he's come out and got involved, and he's overstepped the mark, I'm very disappointed with him."
Bath City 01 Garner 02 Simpson 05 Jones 15 Preece (Shephard - 80' ) 26 Gallinagh 08 Connolly 11 Hogg Booked 18 Watkins 19 Burnell (Canham - 62' ) 10 Phillips 27 Canham Substitutes 04 Rollo 03 Stonehouse 16 Canham 36 Shephard 40 Doherty Ebbsfleet United 01 Edwards Dismissed 06 Lorraine 22 Mambo Booked 02 Stone Booked 08 Marwa 11 Phipp Booked (Shakes - 76' ) 14 Howe 09 Willock 15 Marum (McNeil - 66' ) 23 Ugwu 26 Pinney (Barrett - 73' ) Substitutes 12 McNeil 16 Smith 20 Stadrinou 24 Barrett 10 Shakes