Peterhead have been drawn against Livingston in the quarter-finals of the Petrofac Training Cup.
The draw took place at Lesser Hampden on Thursday afternoon.
With Rangers in the final eight it could have been a dream draw once again for the Blue Toon, but they were sixth out of the hat, leaving Peterhead to take on former Premier League side Livingston.
The Blue Toon will, however, benefit from home advantage in the game, which will take place on Saturday, September 6.
In the other three ties, Morton will take on Alloa Athletic, Stranraer will host Falkirt and East Fife will meet Rangers.
Attending Thursday’s draw was Peterhead goalie Graeme Smith.
He said: “The teams that we’ve come up against so far have been hard teams but as a unit we’ve defended well and we’ve got guys up top that can score goals.
“We know Livingston will be a different proposition, they’re well organised and more importantly they’re full time – it’ll be a very, very tough game but we’ve beaten full time teams before.”
Mark Burchill, assistant manager of Livingston, added: “Obviously it’s a difficult tie, as everyone is looking for a home tie.
“I think going up to Peterhead will be a hard game, they’ve got a big budget for the league they’re in and they’ve got a good home record.
“Beating Hearts in the previous round, we were confident no matter who we got but we’ll see how it goes!”