Werder Bremen goalkeeper Tim Wiese has agreed a four-year deal with Hoffenheim.
The 30-year-old German international had been in talks with a host of clubs and had been linked with Real Madrid.
But now Hoffenheim have confirmed that they have agreed a four-year deal with Wiese.
"We did not want to miss out on signing such an experienced and ambitious professional," said Hoffenheim coach Markus Babbel.