OLYMPICS

RIO DE JANEIRO (AP) Katie Ledecky capped off one of the greatest performances in Olympic history with her fourth gold medal and second world record, shattering her own mark in the 800-meter freestyle.

Ledecky and Debbie Meyer are now the only female swimmers to sweep the three longest freestyle races. Meyer took the 200, 400 and 800 at Mexico City in 1968.

More from FoxSports

The 19-year-old from suburban Washington also followed fellow swimmers Amy Van Dyken and Missy Franklin as the only American women to win as many as four golds in a single Olympics.

Along with her individual golds, Ledecky also topped the podium with the 4x200 free relay. She earned silver anchoring the 4x100 free relay.

RIO DE JANEIRO (AP) - A stunner at the Rio Olympics: Michael Phelps was beaten.

Rather handily at that.

The most decorated athlete in Olympic history couldn't pull off one of his patented comebacks in the 100-meter butterfly, easily held off by a swimmer a decade younger.

Twenty-one-year-old Joseph Schooling of Singapore got off to a blistering start, building a lead that not even Phelps could overcome.

After winning four gold medals at these games and looking unbeatable, Phelps finally ran out of steam in what was the final individual race of his career unless he decides to come out of retirement again.

The 31-year-old Phelps still has a chance to leave Rio with 23 golds in his career. But he'll need help from his teammates, swimming in the butterfly leg of the 400 medley relay on the final night of swimming Saturday.

Phelps wound up in a three-way tie for silver along with two longtime rivals, Chad le Clos of South Africa and Laszlo Cseh of Hungary. They all touched in 51.14 - a half-body length behind Schooling's winning time of 50.39.

BRASILIA, Brazil (AP) - For the first time, the United States won't win an Olympic medal in women's soccer.

The three-time defending champions were ousted by Sweden on penalties following a 1-1 draw in the quarterfinals. The reigning World Cup champions, who are also four-time Olympic champions, had not dropped a match this year.

It was the earliest the United States had ever been eliminated from the Olympics since women's soccer became a sport in 1996.

Sweden is coached by Pia Sundhage, who coached the U.S. team for five years and led the squad to gold medals in both Beijing and London.

RIO DE JANEIRO (AP) - Kyrie Irving scored 15 points and the U.S. men's basketball team withstood its second straight strong challenge at the Rio Games, edging Serbia 94-91.

The Americans won their 48th consecutive international tournament game, but it was anything but easy.

Serbia's Bogdan Bogdanovic missed a 3-pointer from the left wing with 2 seconds left that would have tied it, and Kevin Durant grabbed the rebound to keep the Americans unbeaten. They barely escaped against Australia on Wednesday.

Seeking their third straight gold medal, the Americans built an early 18-point lead but couldn't put away the Serbians, who lost by 29 to the U.S. in the 2014 Basketball World Cup final.

DeAndre Jordan scored 13 and Carmelo Anthony 12 for the U.S., which will close pool play on Sunday against France.

RIO DE JANEIRO (AP) - Anthony Ervin finally has an Olympic gold medal to replace the one he sold 16 years ago.

The 35-year-old American won the men's 50-meter freestyle at the Rio Games, capping a night of upsets in the pool. Ervin improbably touched first in 21.40 seconds - a hundredth of a second ahead of defending champion Florent Manaudou of France. Teammate and former training partner Nathan Adrian claimed bronze.

BASEBALL

NEW YORK (AP) - His pregame tribute ended by a storm, Alex Rodriguez soaked in repeated cheers during his final game in pinstripes, getting one more hit for the New York Yankees and returning to third base one last time.

On a night filled with nostalgia as the Yankees and Rodriguez turn to uncertain futures, baseball's most notorious star of the last two decades hit an RBI double off Tampa Bay starter Chris Archer in the first inning of New York's 6-3 win.

And with the sellout crowd of 46,459 chanting ''We want A-Rod!'' the 41-year-old designated hitter trotted to third base for the first time in 15 months at the start of the ninth inning as the organist played ''Thanks for Memory.''

PRO BASKETBALL

LeBron James didn't waste any time signing his new contract.

A day after agreeing to a deal that can pay him $100 million over the next three seasons, the Cleveland Cavaliers superstar signed it and will make $31 million next season. He can become a free agent in the third season.

James led the Cavs to an NBA title last season, the first for one of the city's three professional sports teams since the Browns won the NFL championship in 1964.

PRO FOOTBALL

ORCHARD PARK, N.Y. (AP) - The Buffalo Bills signed quarterback Tyrod Taylor to a contract extension.

Taylor was entering the final year of his contract and was set to make a $2 million base salary this season. He went 8-6 as a first-time starter last season, when he passed for 3,035 yards and 20 touchdowns. He also set the franchise record for quarterbacks with 586 yards rushing and scored four times.

GOLF

SILVIS, Ill. (AP) - Wesley Bryan took the lead in the rain-delayed John Deere Classic, five days after earning a PGA Tour card with his third Web.com Tour victory of the year.

Bryan played 26 holes in 10 under at TPC Deere Run, birdieing three of the final holes to finish off a first-round 66 and shooting a 64 in the second to reach 12-under 130.

UPPER ARLINGTON, Ohio (AP) - Former Ohio State player Joey Sindelar shot a 4-under 66 to take the second-round lead in the U.S. Senior Open.

One of four former Buckeyes in the field at Scioto Country Club in suburban Columbus, the 58-year-old Sindelar had five birdies, including two in a row after a bogey on No. 5. He had a 5-under 135 total after opening with a 69 on Thursday.

Billy Mayfair, making his first senior start after turning 50 last Saturday, was a stroke back after a 67.

RUMFORD, R.I. (AP) - Lucy Li won the Junior PGA Championship at age 13, a year off LPGA Tour star Lexi Thompson's record in the event.

Li, from Redwood, California, closed with a 2-under 69 in hot and windy conditions at Wannamoisett for a two-stroke victory. She finished at 7-under 206 in the rain-shortened event.