Barnsley will host seventh-tier Horsham in the first round of the FA Cup.
Horsham, from Sussex, are mid-table in the Isthmian League Premier.
They beat National League Dorking in the last qualifying round this weekend.
The match is due to take place the weekend of November 3-5.
We need your support...
We passionately believe in the value of reliable, impartial journalism and in-depth local news coverage.
Please can you help us to continue to deliver our unique service by subscribing to our epaper our newsletter or, by becoming a registered website user.
For more details please read: Why should I register or subscribe?