James Keatings: Inverness CT sign forward after Hamilton exit
James Keatings has had his contract cut short by Hamilton Academical and the forward has joined Inverness Caledonian Thistle for next season.
Accies still have two Scottish Premiership games left to play - and could yet face a play-off against Keatings' new club.
But Accies say they have agreed a "mutual termination" of the 27-year-old's current deal.
Keatings has signed a two-year contract with the Championship club.
"Both parties have agreed to let James move on and pursue opportunities of more regular first-team football elsewhere," Accies said in a club website statement.
The news came hours before Accies face St Mirren in Paisley, where Hamilton need a point to secure their stay in the top flight and consign their hosts to the Premiership Play-off final.
Caley Thistle, meanwhile, host one of Keatings' former clubs, Dundee United, in the first leg of the semi-final on Tuesday.
Keatings returned for a second spell with Accies in August after leaving United but has scored once in only 17 appearances, nine from the bench, and has not played since early March under new manager Brian Rice.
He has twice won the Championship, with Hearts and Hibernian.