Richard Brittain scored a hat-trick as Ross County beat Ayr United to move three points clear at the top of the Scottish First Division.
Brittain curled home a 20-yard free-kick on 16 minutes and converted a penalty seven minutes before the break following Adam Dodd's foul on Gary Miller.
Michael Moffat headed one back for Ayr after the break and Keigan Parker levelled matters with a strike from the edge of the area.
But Brittain was to have the final say, smacking a 30-yard drive into the net 10 minutes from time.
Ayr: Cuthbert, Tiffoney, Smith, Malone, Dodd, Moffat, Geggan, Tomsett, McGowan, Parker, Roberts (Wardlaw 78). Subs Not Used: McWilliams, McKernon, Ross Robertson, Armstrong.
Booked: Dodd, Roberts, Geggan, Malone.
Goals: Moffat 52, Parker 75.
Ross County: Fraser, Miller, Munro, Boyd, Morrison (Corcoran 82), Kettlewell, Lawson (Quinn 88), Brittain, Gardyne, Vigurs, McMenamin (Craig 85). Subs Not Used: Malin, Flynn.
Booked: Vigurs, Boyd, Corcoran.
Goals: Brittain 16, 38 pen, 80.
Ref: Kevin Clancy