AYR, Scotland, Jan 17 (Reuters) - Second division St Johnstone beat third-division Ayr United 2-1 in their Scottish FA Cup third round replay with an extra-time winner from Peter MacDonald on Wednesday.
Saints took an early lead when Trinidad and Tobago striker Jason Scotland lashed a 20-metre free-kick into the bottom left hand corner after five minutes.
Ayr levelled through ex-St Johnstone midfielder Ryan Stevenson who cracked a 25-metre shot into the left side of the net after brilliantly controlling a high ball at the edge of the penalty area and lifting it over Kevin James .
The third round replay looked headed for penalties when MacDonald gathered the ball 30 metres out and launched a ferocious rising shot past keeper Mark McGeown after 116 minutes. Saints now meet Falkirk in the fourth round on Feb. 3.