In what turned out to be an amazing Border Amateur ‘A’ Division game, Legion drew first blood by opening the scoring midway through the first half when Michael Moir netted from close range after the Gordon keeper had spilled a corner-kick.
A minute later, Gordon took advantage of some poor Legion marking to equalise.
Within another minute, the home side took the lead when cashing in on a Legion defensive error.
After Legion goalkeeper Fraser Gowans had impressed with some good saves, the Wilton Lodge Park men got on level terms. A slick passing move involving Sean Owens, Jamie Dickson and Callum Hope coming to and end when Simon Philbin shot home.
Shambolic defending then led to Gordon restoring their lead.
Before the interval, Gordon scored again.
Lining up with a reshuffled formation in the second half, Legion soon reduced the leeway. After running onto a superb through-ball from Jordan Caldwell, Moir shot into the net.
The action continued to flow and substitute Scott Duncan rattled in an equaliser from a Liam Lavery cut-back.
Super sub Duncan then put Legion ahead with a well-taken goal.
With two minutes remaining, Gordon grabbed a last-gasp equaliser.
Commenting on matters, Legion assistant manager Tony Craggs said: “We showed great attitude and character in coming from being two goals down to take the lead. The players never gave up and came very close to winning a game that they could well have been out of at one stage.
“Defensive errors cost us, though, and we really need to start improving in this area.”