Yasuhito Endo hit a sensational last-gasp winner in his first match back from the World Cup in South Africa as Gamba Osaka beat Urawa Reds 3-2 at home in the J. League on Sunday.

Endo's right-foot drive came four minutes into added time, just after Edmilson had leveled the score with his second goal of the night for Urawa at Expo Stadium.

Endo was involved in all three Gamba goals as he set up Takashi Usami's equalizer shortly before halftime and Urawa defender Nobuhisa Yamada headed Endo's soft cross into his own net in the 64th minute.

Both teams were reduced to 10 men, with Lucas sent off in the 68th minute and Yamada in the 90th, both for hard sliding tackles.

"We conceded a goal first, so it was a tough game. I'm glad we came from behind to win with a team effort," Endo said. "We still have many things to work on, but we continue to believe that we'll be the champions in the end."

Gamba are now in eighth place with 18 points, nine behind leader Kashima Antlers.

Edmilson opened the scoring with a header in the 18th minute.

In other games, Sanfrecce Hiroshima cruised to a 3-0 home win over Yokohama F. Marinos.

First-half goals from Koji Nakajima and Hisato Sato put Hiroshima in the driving seat and Koji Morisaki put the game beyond Shunsuke Nakamura's side with the third 14 minutes into the second half.

Shonan Bellmare moved off the bottom of the table after a 1-0 win away at Kyoto Sanga thanks to a 46th-minute goal from Yoshihiro Abe.