A total of 23 SPFL clubs were involved in the third round of the William Hill Scottish Cup on Saturday.
Kris Boyd scored the only goal just before half-time as Rangers beat Dumbarton 1-0 in the all-Championship clash at the Bet Butler Stadium.
Jim Chapman's League 2 Annan caused a shock by beating Livingston 3-2 at Galabank, Cowdenbeath were 3-1 winners away to League 1 leaders Forfar and Raith Rovers defeated Junior side Linlithgow Rose 2-0 at Prestonfield.
There were three all-League 1 ties - Stranraer won 1-0 at Peterhead, Brechin defeated Stenhousemuir 2-1 at Ochilview and Morton and Airdrieonians drew 0-0 at Cappielow.
Ayr United and Alloa drew 1-1 at Somerset Park and it was also 1-1 as Junior Cup holders Hurlford United earned a replay against Stirling Albion.
League 2 leaders Arbroath were 2-1 winners over Nairn County at Gayfield but Elgin City were held to a 4-4 draw in a remarkable match with Bo'ness United at Borough Briggs and Clyde went down 2-0 to Spartans at Ainslie Park.
Berwick Rangers beat East Fife 3-2 at Bayview as the home side finished with eight men and Albion Rovers overcame Queen's Park 2-1 at the Excelsior Stadium
The only tie not involving an SPFL club saw Brora Rangers defeat Edinburgh City 3-2 at Meadowbank Stadium.
Dunfermline beat East Stirlingshire 4-1 at Ochilview on Sunday, with the draw for the fourth round at Hampden on Monday at 2pm, live on Sky Sports.