The 24-year old is now out of contract and after passing a medical with Hearts yesterday, is set to sign a deal with the Edinburgh club.

Hearts boss Jim Jefferies is no stranger to Hamill, working with him for a while when he was at Killie, and it seems as though he has persuaded the former Scotland U21 international back into his arms.

Aberdeen were hoping to swoop for Hamill but it looks as though he will end up at Tynecastle Stadium as the Jambos look for another top-three finish and Europa League action next season.