Connah's Quay Nomads have been drawn at home to Porthmadog in the JD Welsh Cup fourth round.
The draw was made on Monday night live on S4C's Heno, and has seen The Nomads drawn against the side from the Huws Gray Alliance. Porthmadog currently sit seventh in the league on 20 points having won six and drawn two of their opening 13 games this season.
The Nomads' last competitive match against Porthmadog came in the 2011/12 campaign where a double from Rhys Healey along with goals from Ricky Evans, Mark McGregor, Jamie Petrie and Liam Loughlin gave The Nomads a 6-3 victory at The Traeth stadium.
The clubs have met once since then in a pre-season friendly ahead of the 2015/16 season which saw The Nomads run out 5-0 victors.
Following the draw Andy Morrison said "All you can ask for in a cup draw is for a home tie, and we are pleased to have got one. We know the challenges that Porthmadog will bring to us and we will be sending someone to watch them in the coming weeks to ensure that we are fully prepared, as we know that the quality in the Huws Gray Alliance is stronger than ever right now."
Port qualified for the fourth round following a 7-2 victory over Panteg in the third round while The Nomads saw off Cwmbran Celtic with a 3-0 victory.
The draw in full is as follows;
• Airbus UK Broughton v Carmarthen Town
• Caernarfon Town v The New Saints
• Cardiff Met v Aberystwyth Town
• Connah's Quay Nomads v Porthmadog FC
• Flint Town United v Newtown AFC
• Llandudno FC v Ruthin Town
• Llanrhaeadr YM v Bangor City
• Pontypridd Town v Penydarren BGC
Ties are to be played on January 27 or 28 and further confirmation will follow shortly.