LONDON (CNN) -- Michael Phelps wasn't done making Olympic history. On Thursday, he became the first man to win the same individual event in three consecutive Olympics with a strong performance in the men's 200-meter individual medley.
Phelps led from the first leg of butterfly, his specialty, until he touched the wall more than half-second ahead of teammate Ryan Lochte, who just a half-hour earlier had taken a bronze medal in the 200-meter backstroke.
"Even though Ryan had that 200 back before, I knew he was going to be tough. I kind of wanted to push the first 100 as much as I could just to kind of see what would happen," Phelps said.
Phelps, who will retire after the Olympics, made history this week when he became the Olympian with the most medals, surpassing Soviet gymnast Larisa Latynina's record of 18. The Baltimore native now has 20 medals: 16 golds, two silvers and two bronzes.
Lochte had won the first head-to-head contest with Phelps in these Games, taking gold in the 400-meter individual Saturday while Phelps could only manage fourth.
"I said to him in the meet room this is our last 200 of the meet and our last 200 together. We were just joking around, laughing about it. Ryan has probably been one of the toughest competitors ever to swim against," Phelps said.
Earlier, Phelps described the moment he received a phone call from President Barack Obama on Wednesday.
"He just got on and was saying how everyone is supporting me and is behind me at home and how proud everyone is of me. That was pretty cool," Phelps said. "And he finished by saying, 'Make sure you tell your mom I said hi.' It was a good call."
Earlier Thursday, American Rebecca Soni set a world record in winning gold in the women's 200-meter breaststroke. She swam 2:19.59 to beat Satomi Suzuki of Japan, who clocked an Asian record 2:20.72, for silver.
"I'm so happy, I didn't try to focus on medals or records," she said. "I just wanted to swim one more race the way I knew I could."
In the men's 200-meter backstroke, Tyler Clary of the United States beat Ryosuke Irie of Japan and Lochte for the gold.
Clary was stunned to have beaten the favorite, Lochte.
"It's not how I planned the race turning out at all," he told a BBC TV interviewer. Then still in disbelief, he said, "You can wake me up now."
Team USA had a easy night on the basketball court against Nigeria. Very easy.
The Americans scored an Olympic record 156 points in 40 minutes, winning by 83 points -- which actually isn't a record.
Carmelo Anthony led the U.S. with 37 points.
"We shot the ball better than any team in a game I have ever coached," Mike Krzyzewski said. "Our guys just couldn't miss tonight. When you hit 29 threes it's very difficult to lose."
The American led by "only" 33 points at halftime. But they shot an amazing 71% for the game and beat Brazil's 1988 mark of 138 points.
"It could have been anyone out there against us tonight, when we shoot that well" we'll beat anyone, Anthony said.
It was reminiscent of the 1992 Dream Team dismantling Angola by 68 points. The two teams have been compared and Thursday's result will add to the debate as to which team of NBA all-stars is better.
In its next game Saturday against Lithuania, the U.S. should get a more difficult opponent. But Lithuania only beat Nigeria by 19 in game earlier this week.
Besides Obama, another president made Olympic news: Russia's Vladimir Putin attended the judo competition Thursday with British Prime Minister David Cameron. Putin, who is himself a black belt in the martial art, was treated to the sight of a gold for Russian judo contestant Tagir Khaibulaev.
"I look forward to taking the president to the judo at the Olympic park, but I note that we will be spectators and not participants," Cameron joked after their meeting at Downing Street.
Tiny Gabby Douglas, nicknamed the Flying Squirrel, claimed gold for Team USA in the women's individual all-around gymnastics after a stunning final floor routine, leaving Russia's Viktoria Komova to pick up the silver.
"I wasn't really watching the scores, I was just going out there trying to do my rountines the best I could and I did," Douglas said. "I came out on top and I'm just so excited."
It was heartbreak for Douglas' countrywoman Aly Raisman, though, as she tied for third with Aliya Mustafina of Russia but lost out on the bronze medal because of technical deductions.
World champion Jordyn Wieber was excluded from the women's individual all-around final because she finished fourth, but third among Americans, in a qualifying system that allows only two people per nation.
Cycling moved Thursday from the streets of London to the velodrome, a building praised for its sweeping curves and a track made of sustainably sourced Siberian pine, with qualifying rounds and finals in the men's and women's team sprint events.
It was a day of drama, with Team GB's Victoria Pendleton and Jess Varnish -- who had major gold medal hopes -- relegated from the women's team sprint for