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.
Can you show your support?
We’re a team of local people who love bringing the best in authoritative, honest journalism to our town. We’ve been serving the community since 1858 and will continue to deliver our unique service.
Can you help us 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?