York picked up their first victory in four games as they ran out 1-0 winners at Maidenhead.
The visitors took the lead in the 11th minute courtesy of Maxim Kouogun’s near-post header from Maziar Kouhyar’s corner.
Maidenhead threatened to force an equaliser and came close when Sam Beckwith’s effort was saved by Ethan Ross in the City goal.
York could have extended their lead straight after the break when Kouhyar saw his corner cleared back towards him and his second cross flashed across goal narrowly.
Maidenhead knocked on the door for an equaliser with chances from Beckwith but could not force a breakthrough as they fell to their third defeat of the season.
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.