Alves wants to play for Brazil at 2022 World Cup

Dani Alves: Coutinho needs to understand Barcelona's culture (2:15)

With Philippe Coutinho still struggling to adjust to life at Barcelona, compatriot Dani Alves feels says he needs to change his mentality if he wants to succeed. (2:15)

Dani Alves says that he has joined Sao Paulo so that he can keep in shape for the 2022 World Cup in Qatar, when he will be 39 years old.

More than 40,000 Brazilian fans showed up on Tuesday night to see the former Barcelona, Juventus and Paris Saint-Germain defender join his boyhood club.

The captain of Brazil's title-winning Copa America team signed a contract that runs to December 2022. He left PSG on a free transfer after his contract expired in July.

- ESPN fantasy: Sign up now!
- When does the transfer window close?
- Transfer grades: Tracking every big club's deals
- All major completed transfer deals

Alves has lifted 40 trophies in his professional career and is looking for more.

"I have the dream of playing the next World Cup and I need a team that believes in me, in my history in soccer," Alves said. "I am coming to Sao Paulo to bring results, I don't want anyone thinking I have come to end my career. I still have many goals."

Alves did not play in last year's World Cup because of a knee injury. He was on Brazil's squad for the 2010 and 2014 editions of the tournament, but in both occasions he lost his place in the starting lineup to Maicon.

Alves move to midfield to help extend his career.

Another Sao Paulo historic player, 2007 FIFA Player of the Year Kaka, handed Alves his No. 10 shirt in front of excited fans who haven't seen their club win major trophies since the 2012 Copa Sudamericana title.

Alves did not hide his emotion when it comes to the warm reception he has received since his arrival at Sao Paulo's Congonhas airport.

"Today Sao Paulo did not sign a player, the club signed a fan like you all," the defender said during Tuesday night's presentation.

FC Barcelona stars Lionel Messi and Luis Suarez appeared on Morumbi Stadium's giant screen with messages for the veteran Brazilian.

"I want to wish you the best in this stage of your career," Messi said. "I hope you enjoy returning to your country and playing there after so much time abroad."

Alves said he wants to play Saturday against Brazilian championship leader Santos, but club doctors are not sure whether it will be possible.

Sao Paulo is in fifth position in the Brazilian championship with 21 points in 12 matches, 11 behind the leader.

Alves has not played since Brazil's 3-1 win over Peru in the Copa America final on July 7 at the Maracanã Stadium.