Premiership survivors St Johnstone await Ayr United in the group stage of the Premier Sports Cup after the draw was made this lunchtime.
Lee Bullen's men will face the Perth Saints, who are top seeds in Group F of the competition.
Queen of the South, newly relegated from the Championship, will also form part of the group.
Former United player Peter Murphy and his Annan Athletic side also await Ayr, while Elgin City complete the group line-up.
The competition kicks off on the weekend of July 9.
Premier Sports Cup dates 2022/23
Group stage
MD1: Weekend of July 9/10, 2022
MD2: Midweek of July 12/13, 2022
MD3: Weekend of July 16/17, 2022
MD4: Midweek of July 19/20, 2022
MD5: Weekend of July 23/24, 2022
Second round
Midweek of August 30/31, 2022
Quarter-finals
Midweek of October 18-20, 2022
Semi-finals
Weekend of January 14/15, 2023
Final
Sunday February 26, 2023