Solihull Moors will travel to Kelty Hearts in the third round of the Tunnock's Caramel Wafer Challenge Cup.
The tie will be played on the weekend of 7th/8th September.
The Hearts are managed by former Rangers, Birmingham City and Scotland midfielder Barry Ferguson. They compete in the Scottish Lowland Football League and defeated Annon Athletic away from home on penalties following a 1-1 draw in the previous round.
New Central Park will be the destination for the Moors, which is situated in a former coal mining village in the heart of the old mining heartlands of Fife.
If the tie is level after 90 minutes, the game will go straight to penalty kicks with the result decided on the day of the game.
Updated 17:45 - 17 Aug 2019 by Luke Turner