Kilmarnock secured their place in the William Hill Premiership for another season with a thrilling 3-2 victory over Dundee at Rugby Park.
Danny Armstrong opened the scoring for Kilmarnock from a penalty in the 31st minute, but Lyall Cameron equalized for Dundee with 15 minutes remaining.
Bruce Anderson quickly restored Kilmarnock's lead before Robbie Deas sealed the win with a late goal. Cameron pulled one back for Dundee, but it wasn't enough to avoid defeat.
With two games left, Dundee is in 10th place, ahead of Ross County and bottom side St Johnstone, as they continue to fight against relegation.
Kilmarnock entered the match in good form, with three wins in their last four games. Dundee's goalkeeper Trevor Carson made a crucial save early on to deny Kilmarnock the lead.
Anderson missed a great opportunity for Kilmarnock, while O'Hara made a vital save for the home side. The match continued to be evenly contested until Armstrong scored the penalty to give Kilmarnock the lead at half-time.
The second half saw Kilmarnock pressuring Dundee, but they struggled to extend their lead. Dundee fought back and equalized through Cameron before Kilmarnock regained the lead with Anderson's goal.
As Dundee pushed forward, Kilmarnock capitalized on the spaces left and Deas scored their third goal. Cameron scored another goal for Dundee, but Kilmarnock held on for the win.