Besiktas have confirmed the signing of former Real Madrid defender Pepe.
The 34-year-old Portugal international was a free agent after his contract at Real Madrid expired.
After announcing on Tuesday that Pepe had arrived in Istanbul for transfer negotiations, the Turkish Super Lig club confirmed the deal was completed the following day.
A statement on the club's website read: "Pepe has joined the Black Eagles on a two-year deal. He will be paid a total of €9.5 millions in the 2017/18 and 2018/19 season plus €4,000 per game he plays."
Pepe added in a quote on Besiktas' Twitter feed: "I had a number of offers from England, France and Italy, but I chose #Besiktas!"
Pepe joined Real Madrid in 2007, going on to win the Uefa Champions League three times as well as three Spanish titles and the Copa del Rey twice.