Michael Phelps may be the greatest Olympic swimming champion ever. But Friday night, he got hooked by a Longhorn.

Texas sophomore Joseph Schooling posted the third-fastest time ever in the 100-meter butterfly and captured the gold medal in 50.39 seconds, just fractions ahead of Phelps, who was competing in the final individual event of his historic career.

“Oh, I don’t know. Obviously I always want to be faster and want to be on the top of the medal podium,” Phelps said in an NBC interview immediately after he finished second in 51.14 seconds.

“Watching Joe and everything he’s done over the last two years, he’s been swimming great,” Phelps added. “A 50.3 is obviously a very good time, a very respectable time. My hat’s off to him.”

Phelps has been called “The King,” and Schooling has been referred to as “The Kid.” It was historic in more ways than just beating Phelps, though. Schooling, officially a member of the Singapore team, captured the first goal medal for his home country ever.

Schooling actually met Phelps for the first time in 2008 when the future Longhorn was a star-struck 13-year-old. Fast forward to Rio de Janeiro, Schooling snapped Phelps’ four-race gold medal winning streak and became an instant icon back home and in Austin.

USA Today’s Steve Berkowitz tweeted that Schooling will receive a $740,000 prize from the Singapore Olympic Council. NCAA rules will allow Schooling to keep that money and maintain his amateur status to keep swimming at Texas.

TV viewers watching at home probably noticed a Longhorn tattoo on Schooling’s back.