Division Three leaders Berwick Rangers crashed out of the Tennents Scottish Cup at the first hurdle.
Donal Henretty grabbed the only goal of the game in the 61st minute, stabbed in from a fine Craig Smart cross.
Willie Bennett had twice come close as Spartans made most of the running in the first half.
The second half followed much the same pattern and though Berwick's Kevin Gordon hit the post in stoppage time, the offside flag was already up.
Spartans: Brown, O'Donnell, Fowlie, Burns, Jon Seeley, Bennett,
Smart (Manson 70), Thompson, Johnson (Chris Seeley 81),
McLeod (Mitchell 90), Henretty.
Subs Not Used: Kader, Roseburgh.
Goals: Henretty 61.
Berwick:Coyle, Murie, McGarty, McNicoll, Hutchison, Greenhill (Swanson 57), Arthur, McLeish, Haynes (Di Silva 74),
Subs Not Used: Lucas, Gibson, O'Connor.
Ref: D Summers
The BBC is not responsible for the content of external internet sites