Lionel Messi has agreed to join Paris Saint-Germain on a two-year contract.

The six-time Ballon d’Or winner arrived in Paris on Tuesday afternoon to seal his move to the French club on a deal worth £25m per year after tax, plus bonuses.

Messi had two other options after leaving Barcelona last week but has opted to move to PSG, who will have the option of extending his stay in the French capital by a third year.

Messi who will receive a £25m signing-on fee as part of the move – was set to extend his 21-year stay at Barcelona by signing a new five-year deal this summer.

However, the club announced on Thursday that “financial and structural obstacles” meant the deal could not be completed, meaning Messi left as a free agent.

The 34-year-old said he wanted to stay at Barcelona and “did everything” he could to remain at the club, including agreeing to a 50-per-cent wage cut.

However, Barcelona are hamstrung by La Liga’s rules on club spending and even halving Messi’s pay was not enough to ensure he remained at the Nou Camp.