Barcelona have announced the signing of Robert Lewandowski from Bayern Munich.

The Poland international signed a four-year contract with the Catalan giants in a deal believed to be worth around €45million, rising to €50million in add-ons.

A statement on their official website reads: “FC Barcelona and Bayern Munich have reached an agreement in principle for the transfer of Robert Lewandowski, dependent on the player passing a medical and contracts being signed.”

The Poland international has signed a four-year contract with the Catalan giants, according

He will also undergo a medical in Miami.

Last month, the 33-year-old striker confirmed his desire to leave Munich. “My story with Bayern has come to an end, I cannot imagine further good cooperation,” he said.

“I hope they will not stop me (from leaving) just because they can. A transfer is the best solution for everyone.”

Club president Herbert Hainer said: “It’s good for both sides that we have clarity. Robert has earned our appreciation, he has won everything with us. We are incredibly grateful to him.”

Oliver Kahn, who is the CEO at Bayern – a club he spent 14 years playing for – also commented on the transfer.

“We have agreed to release Robert Lewandowski. We have a verbal agreement with FC Barcelona, the contract is still pending,” he said.

“We know very well what we have to thank Robert for, but great players have also left FC Bayern in the past, and even after that, Bayern’s world did not fall apart. On the contrary, it often continued with even more success.”