AFC Fylde recorded back-to-back Vanarama National League wins with a 3-1 victory at relegation rivals York.
Joe Westley put the Coasters ahead inside three minutes, poking Jonathan Ustabasi’s cross past George Sykes-Kenworthy in the York goal.
York levelled after 14 minutes as Will Smith rose superbly to head home Fin Barnes’ cross.
But the visitors raised the tempo after the break and Ashley Hunter produced an audacious effort before Ustabasi raced away down the right and converted coolly 17 minutes from time, leaving York two points from safety.