Jarryd Hayne is back in the National Rugby League, less than three months after quitting the San Francisco 49ers so he could make an ultimately failed attempt to play rugby sevens for Fiji at the Rio Olympics.

The Gold Coast Titans announced Wednesday that Hayne had signed a two-year contract, and he's set to begin playing this weekend, subject to a fitness test, as part of the deal.

Financial details weren't disclosed, but Australian media said the contract was worth 1.2 million Australian dollars ($914,000) a season.

The Parramatta Eels, the team Hayne began his NRL career with before leaving in 2014 for the 49ers, appeared to have not made an offer, leaving the Titans to add one of Australian sport's most recognizable and talented players to their roster. His already high profile was only enhanced by his NFL stint.

"It wasn't the easiest decision for me to make ... very emotional," Hayne said at a media conference. "I never thought I'd ever join another club, but I guess everything happens for a reason. A part of me is sad as I'm not going to be part of the club I grew up with."

So instead of playing for a team based in working-class western Sydney, Hayne will suit up for an up-and-coming side — the youngest in the 16-team competition — on the glitzy Gold Coast tourist strip south of Brisbane.

Hayne will likely make his debut on Sunday for the Titans, who are at home against the New Zealand Warriors. With five regular-season rounds left in the season, and the top eight teams make the playoffs, the Titans are currently seventh.

"Just get my body right and get in shape and the rest will look after itself," Hayne said.

The 25,000-seat stadium at Robina on the Gold Coast could be filled to capacity to watch the "Hayne Plane" make his competitive return in Australia.

"We are expecting a massive turnout," Titans chief executive Graham Annesley said.

In mid-May, Hayne announced his retirement from the 49ers in order to push for selection in the Fiji rugby sevens team for the Rio de Janeiro Games.

"I simply could not pass that chance up," Hayne said at the time. "The Olympics has been something I have admired since I was a little boy."

The 28-year-old Hayne surprisingly made the initial 53-man roster out of training camp as a rookie running back last year with San Francisco. Playing eight games with one start, he had 17 carries for 52 yards and six catches for 27 yards while also returning eight punts for 76 yards.

His rugby sevens career turned out to be even shorter. Hayne struggled to adapt to the pace and fitness demands of sevens — a modified version of the traditional rugby in which teams play several matches in tournaments which last two to three days.

And it didn't help that Fiji has one of the best sevens sides in the world and could win the country's first Olympic gold medal — or medal of any color — when the Rio men's tournament is held from Aug. 10-12.

Hayne began his NRL career in 2006, and he scored 103 tries in 176 matches for the Eels. But Parramatta has been involved in a salary cap scandal this season which has seen the club stripped of competition points and had team executives banned.

Hayne once wrote a letter to club supporters saying if he ever returned to the NRL, it would definitely be with Parramatta. But those current boardroom dramas appeared to have affected his decision to look elsewhere.

"The way that the board is, the way things have gone this year ... couldn't get something done," Hayne said Wednesday. "It's sad and it hurts me just as much as I know it hurts the fans down there."