London:David Beckham returned for England and did just about everything but score.
Beckham marked his first appearance in the lineup since resigning as captain at last year's World Cup by setting up the team's goal in a 1-1 friendly draw with Brazil on Friday.
Although Steven Gerrard was named man of the match in the first international at rebuilt Wembley Stadium, it was Beckham who drew the loudest cheers from a crowd of 88,745.
Back wearing the No. 7 shirt after 10 months out of the side, Beckham was one of the best performers against the five-time world champion and provided the 68th-minute free kick that captain John Terry headed to put England ahead.
Only an injury-time goal by Brazil substitute Diego denied England victory.
"Football's a cruel game and sometimes you don't get what you deserve - and we didn't deserve that," England coach Steve McClaren said. "We deserved to win the game."
Preparing for Estonia
McClaren was using the game as preparation for Wednesday's European Championship qualifier at Estonia, and was now sure to include Beckham for a match England must win to boost its hopes of reaching next year's tournament.
The Real Madrid midfielder's famous deliveries were as accurate as ever, he tackled fiercely but fairly, and covered ground on the right of midfield to stymie Brazil's attacks and set up England's.
"He was good and he took advantage of his best feature - the dead balls," Brazil coach Dunga said.
Beckham was slower than at his peak five years ago, but he set up Michael Owen for three chances, and put a curling free kick just wide in the first half.
The crowd at the stadium, which was hosting England for the first time since September 2000, cheered each time he touched the ball and gave him a standing ovation when he was substituted in the 77th.
"I brought him back because he was playing well," McClaren said. "David Beckham is a player who, when he's playing well, there is no better right-sided player in the world.
"He showed that tonight."
Terry's goal and Beckham's performance roused the crowd after an uneventful first half in which neither goalkeeper had to make a save.
England benefited from the 63rd-minute introduction of substitutes Stewart Downing and Kieron Dyer and improved on its recent performances, but was still disjointed.
"We couldn't get through the middle of them and we tried to move it wide," Terry said. "We did that a bit better in the second half."
But even a Brazil containing Ronaldinho and Kaka struggled to put together passing moves on a pitch that broke up from the start.
Gilberto Silva scored in the 20th minute but had his header ruled out for offside by two other players.
"The players need to have more physical training," Dunga said. "They are a little bit tired but we still had six chances for goals and we only trained 30 minutes."
Each tackle and stumble seemed to create a new divot in the turf. Heavy rain last month and three games in three days last weekend for the English league playoffs left the new field in poor condition.
That meant defenders could slide into tackles and Gerrard made a crucial one on the edge of the area to deny a chance for Kaka, who won the Champions League last week with AC Milan.
Ronaldinho drew the game's first save from Paul Robinson five minutes into the second half with a shot that deflected off defender Ledley King.
Beckham then curled a free kick onto Owen's head, but the ball went just over the bar. Owen shot straight at the goalkeeper from another pass by Beckham, before the midfielder set up Terry for his header goal at the far post.
"David was in a different class today," Terry said. "His delivery is superb. It was a great ball from Becks and it was about time I scored again."
Beckham was one of six players taken off as McClaren tried to rest them for Wednesday and England thought it had beaten Brazil for the first time since 1990 when, with less than one minute of added time left, Diego beat the defense to a cross and headed past Robinson.