Match ends, Ayr United 1, Dunfermline Athletic 2.
Dunfermline overcame the dismissal of Joe Cardle to move three points clear of Ayr at the top of League One.
Michael Moffat rounded off good work by Faissal El Bakhtaoui and Michael Paton to beat Ayr goalkeeper Greg Fleming.
Gerry McLauchlan levelled when he headed in Brian Gilmour's cross, and Cardle was dismissed after two bookings in quick succession.
However, David Hopkirk won it for Dunfermline with a low shot.
- 5McLauchlanBooked at 24minsSubstituted forDevlinat 54'minutes
- 2GilmourBooked at 77mins
- 4DochertySubstituted forDonaldat 45'minutes
- 10TroutenSubstituted forCaldwellat 76'minutes
- 7PatonBooked at 41mins
- 11CardleBooked at 52mins
- 9MoffatBooked at 3minsSubstituted forHopkirkat 55'minutes
- 10El BakhtaouiBooked at 71mins
- Andrew Dallas
- Shots on Target
Second Half ends, Ayr United 1, Dunfermline Athletic 2.
Corner, Ayr United. Conceded by Sean Murdoch.
Nicky Devlin (Ayr United) wins a free kick on the left wing.
Foul by David Hopkirk (Dunfermline Athletic).
Corner, Ayr United. Conceded by Marc McAusland.
Foul by Patrick Boyle (Ayr United).
Michael Paton (Dunfermline Athletic) wins a free kick on the left wing.
Attempt missed. Michael Donald (Ayr United) left footed shot from outside the box misses to the left.
Attempt saved. Ross Caldwell (Ayr United) right footed shot from outside the box is saved in the bottom right corner.
Attempt saved. Patrick Boyle (Ayr United) header from very close range is saved in the top right corner.
Corner, Ayr United. Conceded by David Hopkirk.
Michael Donald (Ayr United) wins a free kick in the defensive half.
Foul by Lewis Martin (Dunfermline Athletic).
Brian Gilmour (Ayr United) is shown the yellow card for a bad foul.
Foul by Brian Gilmour (Ayr United).
Shaun Byrne (Dunfermline Athletic) wins a free kick in the defensive half.
Substitution, Ayr United. Ross Caldwell replaces Alan Trouten.
Faissal El Bakhtaoui (Dunfermline Athletic) is shown the yellow card for excessive celebration.
Goal! Ayr United 1, Dunfermline Athletic 2. David Hopkirk (Dunfermline Athletic) left footed shot from very close range to the centre of the goal. Assisted by Faissal El Bakhtaoui.