Inter Milan said on Monday they had signed former Atletico Madrid defender Diego Godin on a three-year deal.
The 33-year-old said in May he would be leaving the Spanish side after nine years when his contract expired in June.
"FC Internazionale Milano announces that a contract has been agreed with Diego Godin that will run until 30 June 2022," a statement on the club website says.
The Uruguayan, who joined Atletico from Villarreal in 2010, played 389 times for the club and famously clinched their first La Liga title in 18 years with a header in a 1-1 draw at Barcelona in 2014.
Godin also won two Europa League titles, the Copa del Rey, Spanish Super Cup and three Uefa Super Cups with Atletico as well as reaching the 2014 and 2016 Champions League finals, where they lost both times to Real Madrid.