Cardiff City have agreed principal terms to sign Wigan Athletic defender Ivan Ramis with the deal set to be announced on Friday.

The 29-year-old Spanish centre-back joined Wigan from La Liga side Mallorca in 2012, but he has struggled during his time in England due to several injuries.

Last season Ramis just played 16 Premier League games for the Latics due to a cruciate ligament rupture that resulted in him missing the second part of the season while this campaingn he has just made seven appearances in the Championship.

Crystal Palace and Nottingham Forest had recently been linked with the Spaniard but IBTimes UK understands that Ramis will finally join Cardiff as the Welsh club and Wigan have already agreed the terms of the deal.

Ole Gunnar Solskjaer's side have also agreed personal terms with the 29-year-old- centre-back and he is expected to pass the medical this afternoon to complete the deal.

The Spaniard will become Cardiff's third January signing after the arrivals of former Manchester United youngsters Mats Moller Daehli from Molde and Magnus Wolff Eikrem from Heerenveen.

Solskjaer's has recently expressed his desire to bring in more players in their bid to avoid relegation during their first Premier League season and according to the reports they are also close to securing the services of Norway 23-year-old striker Jo Inge Berget from Molde.

Cardiff are currently at the bottom of the Premier League after picking up just 18 points in the first 22 games. Former Manchester United striker Solskjaer was appointed Cardiff manager on January 2 to replace the sacked Malky Mackay.