York City have signed Barnet midfielder Mark Shelton.
The 29-year-old will join the National League champions on 1 July after his contract with the Bees expires.
Shelton scored eight goals in 43 appearances for Barnet this season as they finished eighth in League Two.
He is York's first signing since they secured promotion back to the EFL after 10 years away.
The Minstermen have not disclosed the length of contract he has signed.
- All done deals since February, including deadline day