Bristol Rovers will face Barnsley in the second round of the 2024/25 Emirates FA Cup.
The Gas will travel to Oakwell with the fixture due to be played between Friday 29 November - Monday 2 December 2024.
Ticketing information will be confirmed in due course.
Rovers beat Weston-super-Mare in the first round 3-1 after extra time to reach this stage of the competition. Jamie Lindsay opened the scoring for Matt Taylor's men in the first half with a first-time finish, but Jordan Bastin's low drive just after the hour mark ensured the game ended level after 90 minutes.
However, the Pirates' quality prevailed in extra time, with Connor Taylor powering his header in from close range to get his second goal in as many games in all competitions before Grant Ward confirmed the victory with a fantastic curling strike from distance.
Rovers have reached the quarter-finals of the FA Cup on three occasions, most recently during the 2007/08 campaign.