YORK City have signed attacking midfielder Maziar Kouhyar from Vanarama National League North play-off rivals Hereford.

Kouhyar joins on a free transfer and York have said that they have beaten off "stiff competition for his signature."

The 24-year-old had impressed for Hereford so far this season, winning the division's player of the month award for February.

The Afghanistan international - who has eight caps to his name - is currently on international duty.

He is due to feature against Madagascar on Thursday before linking up with his new team-mates.

“It's no secret that I'm hungry to get back to the Football League and to do that I feel I need to be playing full-time," said the former Coventry City and Walsall player.

"There were a few clubs interested in signing me, but when I saw York City's amazing facilities and heard how their plans to get back into the Football League matched mine, it was an easy decision.

"I can't wait to get playing when I return from international duty, and help York win promotion.

"I'd like to thank Hereford FC, the fans, and manager Josh Gowling for helping me rediscover my love of playing football.

"It's been a privilege to wear a Hereford shirt, and I wish everyone at the club the very best for the rest of the season and beyond."

The move is subject to FA and National League approval.