With the Jambos and the Tangerines already confirmed in third and fourth places respectively, there was little more than pride to play.

David Goodwillie opened the scoring after 22 minutes when he bundled the ball home from close range but Gray Glen stooped to nod home a David Templeton cross nine minutes later.

Jon Daly scored what proved to be the winner after 71 minutes when he seized upon an Ismael Bouzid error to lash the ball past Marian Kello from the edge of the area.

United gave starts to Craig Conway, Prince Buaben and Morgaro Gomis who are all set to leave in the summer.

Captain Jon Daly and defenders Mihael Kovacevic and Sean Dillon both started at the expense of David Robertson, Scott Robertson and Garry Kenneth, while Keith Watson was absent after having a hernia operation on Thursday.

Hearts made six changes from the team that lost 3-0 to Celtic midweek with David Obua missing through suspension following his dismissal against the Hoops, while Marius Zaliukas, Ian Black, Ryan Stevenson, Rudi Skacel and Stephen Elliott were also left out.

In their place came Darren Barr, Ruben Palazuelos, Andy Driver, Templeton, Glen and Scott Robinson to give the visitors a youthful look.

Both teams made a bright start to the match with an inviting cross by Hearts winger Driver headed clear by Dillon before Paul Dixon crossed for Daly at the other end but the Irish striker headed well wide.