Forfar Athletic were unfortunate not to beat the League One champions as they drew 2-2 with Dunfermline Athletic in a game that ended in chaotic fashion.
Michael Moffat almost turned a cross past Darren Hill at the near post before Swankie gave his side the lead on 13 minutes.
Omar Kader was fouled by Scott Robinson 20 yards out and the Forfar skipper curled a lovely free kick into the bottom corner of Sean Murdoch’s goal for 1-0.
Moffat got the leveller on the half hour mark, a lofted ball allowing the powerhouse striker to muscle past Bryan Hodge and fire low into Hill’s goal.
The Loons were forced to defend for much of the remaining 15 minutes but went close to restoring their lead right before the break, when only a Brad McKay clearance denied Andy Ryan’s acrobatic effort after Kader fed the ball through to him.
It only took five second half minutes for Forfar to go back in front though as Ryan chased a poorly defended ball down inside the box, turned and blasted an effort beyond Murdoch.
Moffat missed two glaring opportunities from close range before Ryan Wallace also blasted over.
But it was level on 61 minutes, Hill parrying Rhys McCabe’s howitzer of a free kick right into Moffat’s path and the striker easily added his second goal.
Anarchy descended on East End Park as O’Brien received a yellow card for fouling McKay inside the box.
O’Brien appeared to push the referee after this, which warranted a straight red card.
Moffat then blasted his penalty into the stand but the official pointed for a retake due to encroachment by Forfar players, only for the striker to rattle the post.