York City have been handed an away tie with Rotherham United in the first round of the Johnstone's Paint Trophy. The match will take place on Tuesday, September 4.
Hartlepool had already been given a bye through the first round of the competition.
See the other ties drawn here.
Get the latest scores and updates from today's football fixtures
Kader Mangane has joined Sunderland on loan until the end of the season
Sunderland boss Martin O'Neill has spoken about the club's newest recruit - Alfred N'Diaye