Declan McManus scored an extra-time hat-trick as Morton reached the Petrofac Training Cup quarter finals.
Scott Maxwell crashed in a 20-yard shot to give Berwick Rangers the lead, with Jamie McCluskey levelling soon after.
Thomas O'Ware nodded Morton in front but Lee Currie ensured extra-time was needed, tucking in the rebound after his 90th-minute penalty was saved.
McManus then stole the show with three rapid fire goals, the first a fantastic strike, before McCluskey was sent off.
Having hammered a shot into the top corner, McManus, on loan from Aberdeen, netted his second when he rounded William Bald and he completed a remarkable hat-trick two minutes later with a clever finish through the goalkeeper's legs.
McCluskey's late dismissal came for a second booking once the game was beyond the visitors.
- 2MillerSubstituted forHandsat 77'minutes
- 7McKeeSubstituted forRussellat 87'minutes
- 6Milojevic Bjekovic
- 10McCluskeyBooked at 63minsSubstituted forKildayat 64'minutes
- 4PepperBooked at 81mins
- 11McCluskeyBooked at 119mins
- 2JacobsSubstituted forDargoat 79'minutes
- 8CameronSubstituted forDalzielat 87'minutes
- 9LaverySubstituted forRussellat 74'minutes
- 10CurrieBooked at 86mins
- Barry Cook
- Shots on Target