St Mirren defeated Ayr United 2-1 in Paisley this afternoon to finish top of Premier Sports Cup Group D.
Killian Phillips scored a first-half double but Kevin Holt reduced the deficit midway through the second half.
Ayr are also through to the last 16 as one of the three best runners-up meaning Dunfermline Athletic miss out.