Nemanja Vidic will join Inter Milan from Manchester United for the next campaign, the Serie A outfit have confirmed on their official website.
The United captain's contract with the English champions is due to expire in the summer and the 32-year-old was eligible to agree a pre-contract with another club since January.
Last month, the defender had confirmed that he will be leaving Old Trafford at the end of the season while Inter president Erick Thohir revealed that the deal to sign the Serbian is 90 percent complete.
The statement on the Italian club's official website read: "Nemanja Vidic will wear the black and blue of Inter next season. FC Internazionale is delighted to announce that negotiations to bring the Manchester United captain to the club have reached a successful conclusion."
Meanwhile, Thohir expressed his delight at agreeing a deal to bring Vidic to San Siro. The centre-back's accolades during his time with the Red Devils include five Premier League titles, three League Cups, five Community Shields, one Champions League and one FIFA Club World Cup.
"Vidic is a world-class player. I'm extremely happy to have completed this deal to bring Nemanja to Milan. He's one of the world's best defenders and his qualities, international pedigree and charisma will be an asset to the team and help bring through our younger players," Thohir explained.
"He will bring added value to the club and is another piece of the great Inter side we are building. I would also like to take this opportunity to thank Manchester United, Nemanja and his entourage for the professional and cooperative approach they have shown throughout the negotiations," he concluded.
Vidic had established a strong partnership with Rio Ferdinand at the heart of United defence since joining the club in 2006.
This season, he has made 25 appearances in all competitions and has scored one goal, which came in the 2-1 defeat against Sunderland in the first leg of the Capital One Cup semi-final in January.