A MARK Nicolson penalty five minutes from time earned a 3-2 win for Elgin against Berwick Rangers.
It was Barry Wilson's first win in charge and leaves City still 10 points off the play-off places in League Two.
With Ross County loan signing Gordon Finlayson coming into the starting line up and fellow Dingwall loanee Calum MacDonald on the bench, Wilson had the opportunity to freshen up his squad.
Craig Gunn fired Elgin ahead from the penalty spot on 30 minutes after Steve Notman handled in the area.
Lee Currie levelled four minutes before the half-time break with a shot from outside the box.
Elgin got off to a dream start in the second half when Dennis Wyness headed home inside a minute of the restart.
Calum MacDonald replaced the injured Paul Harkins in the 63rd minute.
With 15 minutes remaining Berwick won a corner and John Fairbairn knocked the ball home from six yards.
Just when it looked as if the game might be heading for a draw Michael Andrews fouled Shane Sutherland in the box.
With first half spot kick taker Gunn replaced two minutes earlier by Sam Urquhart, Mark Nicolson took the responsibility and converted from the spot.
Jellema, Beveridge, Finlayson, Harkins (MacDonald - 64 ), Crighton, Duff, Gunn (Urquhart 83'), Nicolson, Sutherland, Wyness, McKenzie (MacLeod 88') . Not used: Black.