Barnet came from a goal down to secure victory over high-flying Salisbury.
Dan Fitchett opened the scoring for the visitors when volleying home an Elliott Frear free-kick at the back post.
The Bees levelled as Ahmed Abdulla met Keanu Marsh-Brown's centre to head home and promptly went in front through right-back Andy Yiadom's low drive.
The hosts secured all three points with just two minutes left as Marsh-Brown's deflected free-kick found the back of the Salisbury net.
VIEW FROM THE DRESSING ROOM
Salisbury City manager Mikey Harris told BBC Wiltshire:
"I felt like we deserved something out of the game. For 65 minutes they didn't cause us any problems.
"The game plan was working then disappointingly we concede from a set-piece. If we don't concede that goal from a corner then I believe we go on to win the game.
"I'm gutted for the lads, (they are) bitterly disappointed they've not seen the game through.
"It's no disgrace to come to Barnet and get beat."