Barnet turned on the style in the second half to crush York 4-2 in the Vanarama National League.
The home side actually started the better, going ahead through Dipo Akinyemi’s seventh-minute lobbed opener.
But Barnet hit back, Idris Kanu having a goal ruled out for offside before Harry Pritchard equalised from the edge of the box (12).
Kanu gave the visitors the lead from close range (64) and the result was secured three minutes later when Reece Hall-Johnson headed in at the back post.
Zak Brunt nodded in a fourth with eight minutes to go as Barnet rubbed salt into the wound, before Akinyemi’s last-minute consolation.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.