Highland League champions Brora Rangers will make the trip to the capital to face Edinburgh City in the third round of the Scottish Cup.
Davie Kirkwood’s side’s reward for beating Banks o’Dee on Saturday is a third round trip tol face the Lowland League leaders, who are unbeaten this season.
Nairn County were also given an away game at either Arbroath or Montrose while the winners of Saturday’s replay between Forres Mechanics and Elgin City will have home advantage against junior side Bo’ness United.
League 2 champions Peterhead, who were also in the hat for the first time, were given a home match against Stranraer.
The ties will be played on Saturday, November 1.
Highland League champions face capital trip in Scottish Cup.