Lionel Messi has agreed to a two-year deal with Paris Saint-Germain with an option for a third year.

Messi didn't confirm the agreement during his farewell press conference with Barcelona on Sunday.

"[PSG] is one possibility," Messi said. "There's nothing closed at the moment but we're talking about a lot of things. After Barca's statement, a lot of clubs showed an interest. There's nothing final but, of course, there are talks."

Asked about the prospect of joining a rival, he added: "There is no doubt that I will go to a team that will compete with Barca. I didn't want to leave, but I have to. And I want to keep winning. That's my mentality. I want to win."

Messi insisted he had done everything possible to stay at Barca.

"I am really sad because I didn't want to leave because this is the club I love," he said. "I didn't expect this. I have never lied; I have always been honest and upfront. Last year I wanted to leave; this year I didn't. That's why I am so sad.

"As the president [Joan Laporta] has explained, the club has debt [problems]. It's not possible. Why keep drawing it out if it's nearly impossible? The talks stopped as Barca did not want to go on, they knew LaLiga would not let it happen, it was impossible.

"I did everything I could to stay and it wasn't possible. I offered to reduce my salary by 50% and Barca didn't ask for anything else. They didn't ask for another 30% , that's a lie."