Inverness Caley Thistle claimed the biggest win of the night in the Betfred Cup but holders Ross County have been knocked out of the competition.
Here's a round-up of the 12 ties played on Tuesday evening:
Forfar Athletic beat East Fife 2-0 at Station Park with goals from Jim Lister and Andy Munro although Gary Naysmith's men remain top. A Rory McAllister double, the second a penalty, saw Peterhead defeat Dundee 2-1 at Balmoor, with Greg Stewart pulling one back late on.
Leaders St Johnstone lost the shoot-out against Brechin City after a 1-1 draw at Glebe Park, where Andy Jackson's opener was cancelled out by Chris Kane in the closing minutes. A second-half hat-trick from Blair Henderson earned Stirling Albion a 4-1 victory over Elgin City at Forthbank after Kyle Macleod had equalised an Eddie Ferns goal.
Iain Vigurs scored a hat-trick as Inverness Caley Thistle moved to the top of Group C after beating Dunfermline 5-1 at East End Park. Billy King and Carl Tremarco were also on target for Richie Foran's men, with Andy Geggan netting for the Pars.
Alloa's 3-2 win over Ross County at the Indodrill Stadium saw them move to the top of the table with maximum points as the holders were knocked out. Brian Graham and Alex Schalk hauled the Staggies level after early goals from Jordan Kirkpatrick and Jon Robertson but Calum Waters won it for the Wasps, who now face Raith Rovers.
Partick Thistle maintained their 100% record by beating Stenhousemuir 4-1 at Ochilview with goals from Mathias Pogba, Sean Welsh (penalty), David Amoo and Ade Azeez. Liam McCroary scored a consolation for the Warriors. Airdrieonians beat Queen's Park 8-7 on penalties after a 3-3 draw at Hampden. Adam Cummins, Aiden Malone and Sean Burns scored for the Spiders, with Andy Ryan, Adam Brown and Iain Russell on target for the Diamonds.
Motherwell beat East Stirlingshire 3-0 at Fir Park with second-half goals from Marvin Johnson, Scott McDonald and Chris Cadden.
Ayr United earned a 2-0 win over Livingston to move three points clear at the top thanks to goals from Peter Murphy and Craig McGuffie.
Kilmarnock came from two goals down to beat Berwick Rangers 3-2 at Shielfield. Jonny Fairbairn and Sean Mackie had the hosts in command but a double from Souleymane Coulibaly hauled Killie level and Rory McKenzie won it late on. Dylan Easton converted a stoppage-time penalty as Clyde beat Albion Rovers 2-1 at the Exsel Group Stadium after Ross Davidson's opener had been cancelled out by Ewan McNeil.