WIMBLEDON, England (AP)—When John Isner finally won the longest match in tennis history, he collapsed on the Wimbledon grass and then summoned one last burst of energy, springing to his feet to give his opponent a bear hug.

Isner hit a backhand up the line Thursday to win the last of the match’s 980 points, and he beat Nicolas Mahut in the fifth set, 70-68.

The first-round marathon took 11 hours, 5 minutes over three days, lasting so long it was suspended because of darkness—two nights in a row. Play resumed Thursday at 59-all before an overflow crowd on cozy Court 18 and continued for 20 games and 65 minutes before Isner won.

The score that broke the scoreboard at one point: 6-4, 3-6, 6-7 (7), 7-6 (3), 70-68.

“When you come out and play a match like this, in an atmosphere like this, you don’t feel tired really out there,” Isner said, “even though that’s exactly what we both were.”

The match lasted so long because neither player could break serve. Isner finished with 112 aces and Mahut had 103, with both totals eclipsing the sport’s previous high of 78. They combined to hold for 168 games in a row.

“It stinks someone had to lose,” Isner said. “But to be able to share this day with him was an absolute honor. I wish him nothing but the best, and maybe I’ll see him somewhere down the road, and it won’t go 70-68.”

Missing the finish was Queen Elizabeth II, who had already departed the All England Club following her first visit to Wimbledon since 1977. She watched Briton Andy Murray win his match on Centre Court.

Top-ranked Rafael Nadal and Serena Williams advanced to the third round. Nadal won all 20 points on his serve in the final set and improved to 13-3 in five-set matches by beating Robin Haase 5-7, 6-2, 3-6, 6-0, 6-3.

Williams won the first 11 games and beat Anna Chakvetadze 6-0, 6-1 in 48 minutes.

Other winners included Maria Sharapova, Caroline Wozniacki and Robin Soderling. But those results—and even the queen’s visit—were overshadowed by a match that was by far the longest in the sport’s history in terms of games and time.

The fifth set alone took 8 hours, 11 minutes, surpassing the previous longest match, which took 6 hours, 33 minutes at the 2004 French Open.

“We played the greatest match ever in the greatest place to play tennis,” Mahut said. “John deserved to win. He just served unbelievable.”

Chair umpire Mohamed Lahyani said he didn’t have a chance to feel tired, even during Wednesday’s seven-hour session.

“I travel economy,” he said. “Seven hours sitting still on court is nothing.”

Isner said he felt “completely delirious” by the end of play Wednesday. He estimated he ate a dozen energy bars and drank 30 to 40 bottles of water during the match, and he was glad he trains hard in the heat of Tampa, Fla.

“My coach actually, believe it or not, said jokingly before the tournament started that I’ll be able to play 10 hours,” Isner said.

The crowd roared when the players walked on the court Thursday. Mahut wore an intense expression, while Isner smiled and waved. The electronic scoreboard was again working after it froze and then went blank as the fifth set approached 100 games Wednesday.

When play resumed and Isner held in the first game after reaching deuce, Lahyani announced the score.

“Isner leads 60 games to 59, final set,” he said. The crowd laughed.

Both players continued to dominate with their serves. Mahut, always trailing when he served, held at love five times, and appeared to be the fresher player.

The Frenchman hit a leaping overhead to end one exchange and skipped to the baseline following a changeover, while the 6-foot-9 Isner moved deliberately between points. But in the 183rd and final game, Mahut sailed a forehand long and netted a drop shot on consecutive points to fall behind 15-30.

At 30-all, Isner hit a forehand winner for the first break-point chance of the day. Then he cracked the backhand winner for the victory—just the third service break of the match, and the only one in the fifth set.

The shot came at 4:48 p.m.—nearly 48 hours after the match started. The crowd gave both players a standing ovation that lasted long after the bear hug, and as Mahut sat in his chair with a towel draped around his head, Isner pointed at him and joined the applause.

“It’s something Nic and I will share forever,” Isner said. “I don’t think I’ve ever said five words to the guy prior to our match—not that he’s a bad guy. Now when I do see him in the locker room at other tournaments, we’ll always be able to share that.”

Seeded 23rd, Isner will be back on court for a fourth day in a row Friday to play a second-round match.

With the queen watching from the Royal Box, Murray defeated Jarkko Nieminen of Finland, 6-3, 6-4, 6-2. Murray, seeded fourth, is trying to become the first British player to win Wimbledon since the queen watched Virginia Wade win the women’s final 33 years ago.

Shortly after the queen took her seat in the front row, Murray and Nieminen walked onto the court. They turned toward her and simultaneously bowed as the crowd roared.

Murray, the only British player left in singles, might have been a bit nervous at the start. He faced four break points in the opening game but erased them all, then pulled away from there.

The queen joined the applause when Murray closed out the win. Both players again bowed as they left the court, and they then met with the queen on a balcony overlooking the club’s outer courts before she departed.

Over on Court 1, 2004 champion Sharapova advanced to the third round by beating Ioana Raluca Olaru 6-1, 6-4. Seeded 16th, Sharapova won 20 of 23 points at the net.

The queen emerged from a car near the club’s practice courts an hour before the day’s first matches, and walked toward Centre Court along a walkway lined with spectators. When she reached the members’ lawn, she met several players, including Roger Federer, Venus and Serena Williams and Andy Roddick, and former Wimbledon champions Martina Navratilova and Billie Jean King.

“She said, Oh, you’ve been coming here a long time,”’ King said. “And I said,Yes, 49 years in a row,’ and she goes, `Oh, that’s wonderful.’ … It was really an honor and a big thrill for me, because it is on my bucket list.”

Serena Williams greeted the queen with the curtsy she had been practicing. Roddick and Federer bowed. Spectators cheered as the queen then walked across a bridge to the clubhouse for lunch.