FC Barcelona has officially confirmed it has reached a deal with Santos to sign Brazilian star Neymar, who will sign a five-year contract with the club on Monday.

The decision came a day after his Brazilian club, Santos FC, said it had accepted offers from Barcelona and Real Madrid, and that it was up to Neymar to decide where he wanted to play.

The forward himself also broke the news through his Instagram and Facebook accounts and revealed his appearance against Flamengo on Sunday would be his last for his boyhood club. "FC Barcelona and Santos have agreed to terms for Neymar da Silva Santos Junior. The Brazilian forward will don the Blaugrana strip for the next five seasons," a Barcelona statement read. “I wouldn't be able to wait until Monday. My friends and my family already know of my decision,'' Neymar wrote.``On Monday I will sign a contract with Barcelona.

He said he will play his last match with Santos on Sunday against Flamengo in the team's first match in this year's Brazilian league. “I insisted on playing my last match, tomorrow, in Brasília. I want to have the chance to walk into the pitch once more, wearing this shirt and hearing the fans sing my name. Titles, goals, dribbling, celebrations and songs that fans created for me will be forever in my heart. This is a different situation for me. It's sad because it's a farewell and happy because it's a new challenge."

Neymar did not give any details on the offer he and Santos accepted from Barcelona. He will join Barcelona after the Confederations Cup, as the transfer window in Europe opens in July.

The 21-year-old striker is considered the future of Brazilian football and will carry the country's hopes in the Confederations Cup next month and in the World Cup at home next year.

Neymar led Santos to its greatest run since Pele stopped playing for the club in the 1970s. The youngster helped Santos win the 2010 Brazilian Cup, the 2011 Copa Libertadores and three straight Sao Paulo state championships. He is the club's leading scorer in the post-Pele era with 138 goals in 229 matches.