Controversial midfielder Joey Barton has agreed to rejoin Burnley until the end of the season on a free transfer.

Barton has been working at the Premier League strugglers' training ground since his release from an ill-fated spell at Rangers in November, and the Clarets announced he would rejoin Sean Dyche's side in January pending international clearance.

The 34-year-old spent last season at Turf Moor, playing a starring role in the Burnley’s promotion as Championship winners, but turned down a new contract offer in the summer and instead signed for Rangers.

His spell in Scotland didn’t last long though and his contract was cancelled by the Glasgow club.

Burnley said in a statement: "The Clarets have agreed terms with the midfielder on a deal until the end of the season - subject to international clearance once the transfer window opens in January."

The 34-year-old added on Twitter: "Its great to be back! #UTC."

Barton was voted Burnley fans' player of the year last season, his first with the club, having played 38 league games in their Championship-winning campaign.

Though a contract to remain with Dyche's team for their top-flight tilt was on the table, Barton snubbed the offer to venture north of the border, stating at the time that the opportunity to represent Rangers was one "the competitive animal in me just could not turn down".

However, he appeared on just eight occasions for Mark Warburton's side before a two-month exile followed after a training-ground bust up in the aftermath of the 5-1 loss to rivals Celtic in September.

That Old Firm affair was the final time Barton would pull on a Rangers shirt, though it took eight weeks for the two parties to reach an agreement on the termination of his contract in early November.

Once Barton became a free agent again, a return to Turf Moor always seemed on the cards and Dyche refused to rule out a reunion with the ex-Manchester City and Newcastle midfielder.