The former Spain international has decided to come out of retirement to play for the club made famous by Brazilian legend Pele

New York Cosmos have signed Raul to a multi-year contract, the North American Soccer League outfit announced on Thursday.

The former Real Madrid star joins the club made famous by Brazilian star Pele during the 1970s. He is also set to take on the role of technical adviser to the club’s soon-to-be opened youth academy, which he will oversee on a full-time basis upon his retirement.

“Everyone throughout the soccer world knows the Cosmos name and the legacy of the players that played for this team previously,” Raul said in a statement.

“They helped establish soccer in America and I’m honored to follow in their footsteps. I believe in this club’s vision and I’m excited to be a part of that.”

The striker had retired from professional soccer after spending two years in Qatar playing for Al Saad. Prior to that, Raul spent two years playing for German Bundesliga side Schalke after leaving Madrid.

Raul, 37, joins a Cosmos side that won the NASL title in 2013 and has qualified for the NASL playoffs this year. He will join a squad that features former Spanish national team team-mate Marco Senna, who helped guide the Cosmos to the NASL title a year ago.

The Cosmos returned to action in 2013 after nearly 30 years of inactivity and have already made waves in their first two years back in business, making Senna the most high-profile signing of the current NASL set up.

They have now set the bar even higher with the addition of the leading goal scorer in Champions League history.

“We’re obviously thrilled to add a player of his quality to the team,” head coach Giovanni Savarese said.

“Raul’s skill and ability is world renowned. He’s a world-class player and he adds a whole new dimension to our attack.

“He also brings immense passion and knowledge that he can share with our team and with the next generation of Cosmos players in our youth academy.

“He’ll help set the academy training curriculum, structure and establish our player development pyramid.”

The Cosmos Youth Academy is slated to open in 2015, with Raul signing on to take a leadership role with the academy upon his retirement.