Bayern Munich have agreed upon a two-year loan deal with Real Madrid for James Rodriguez.

Bayern have the option to buy James at the end of the loan.

Karl-Heinz Rummenigge, the Bayern chairman, said: “We are very happy that we have managed to conclude this transfer. The signing of James Rodríguez was the big wish from our manager, Carlo Ancelotti, after the two of them worked together successfully at Real Madrid.

“James is a very versatile player. He scores a lot of goals himself and is also able to set up goals and sets overall high standards. We have, without question, heightened the quality of the squad with this transfer.”

James had long been linked to Manchester United.