Real Madrid legend Raul has agreed a deal with North American Soccer League side New York Cosmos.

The Champions League's record goalscorer has signed a "multi-year deal" and will combine playing duties with a role as technical advisor working with the club's academy.

He follows the likes of Pele and Franz Beckenbauer to the Cosmos, who returned to the NASL in 2013 after almost 30 years away from the profesional game.

"Everyone throughout the soccer world knows the Cosmos name and the legacy of the players that played for this team previously," Raul said.

"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."

Raul, 37, left Madrid for Schalke in the summer of 2010 and went on to play in Qatar.