Darlington secured their first victory since September by easing past York.
The Quakers took an 11th-minute lead when former York striker Barry Conlon headed in Ryan Valentine's cross.
Jon Shaw missed a golden chance to level by heading straight at Michael Price before Neil Wainwright doubled the lead with a fine individual goal.
Darlington wrapped up the points 12 minutes from time when on-loan defender Craig James headed home.
Darlington: Price, James, Clarke, Hutchinson, Liddle,
Valentine, Nicholls, Maddison, Clark, Wainwright, Conlon. Subs:
Alexander, Norton, Convery, Pearson, Coghlan.
York: Ovendale, Merris, Smith, Brass, Edmondson, Bullock,
Dunning, Brackstone, Cooper, Shaw, Nogan. Subs: Porter, Law,
Parkin, Browne, Good.
Referee: M Pike (Cumbria)