Substitute Tom Pope helped Port Vale come from behind to seal three points at home to Gillingham.
Danny Kedwell had put the visitors in front early on after he nodded in Amine Linganzi's left-wing delivery.
Port Vale equalised after the break when Carl Dickinson flicked on Chris Lines' corner for Chris Robertson to easily bury a close-range header.
Pope then headed onto Dickinson's right-hand cross to snatch the winner for Vale midway into the second half.
VIEW FROM THE DRESSING ROOM
Gillingham interim manager Peter Taylor told BBC Radio Kent:
"First half, excellent, I was really pleased, we could have scored more than one goal.
"The massive negative was the start of the second half where we conceded two poor goals.
"I thought the way we finished the game we deserved to get a goal.
"As much as I'm disappointed, there were some good performances today, and unfortunately we haven't got anything."
Port Vale 01 Neal 02 Yates 05 Dickinson 18 Lines 04 Robertson 06 Chilvers 08 Dodds 21 Griffith 39 Hugill (Pope - 45' ) 19 Williamson 07 Loft Substitutes 03 Jones 09 Myrie-Williams 11 Pope 12 Johnson 24 Duffy 26 Birchall 29 Hughes Gillingham 01 Nelson 23 Harriman 03 Martin 19 Hollands 26 Barrett 06 Legge 07 Whelpdale 04 Linganzi (Dack - 82' ) 11 Weston 09 Kedwell (German - 69' ) 18 Lee (McDonald - 70' ) Substitutes 05 Davies 08 Akinfenwa 10 McDonald 12 Gregory 15 Dack 16 German 21 Howard
Ref: Darren Bond