Updated

Regan Smith, Lilly King, Gretchen Walsh, and Torri Huske took home the final Olympic swimming event on Sunday in the women's 4x100 medley, and also set the world record in the event.

The group swam the race in 3:49.63, beating the previous record, also owned by the United States, by 0.77 seconds.

It was a wire-to-wire victory for the Americans, thanks to the insane backstroke by Smith to start - her leg alone was 0.15 seconds shy of the world record time.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

usa womens medley

Regan Smith, Lilly King, Gretchen Walsh and Torri Huske of Team United States celebrate after winning gold in a world record time in the Women's 4x100m Medley Relay Final on day nine of the Olympic Games Paris 2024 at Paris La Defense Arena on August 04, 2024 in Nanterre, France.  (Quinn Rooney/Getty Images)

It was Huske's third Olympic gold of the Games, having also won the women's 100m butterfly (Walsh got silver), while she and Walsh were part of the world-record mixed 4x100 medley team on Saturday - Smith got credit for the gold as a reserve.

It's also Lilly King's first gold medal since the Rio games.

Women's medley team celebrating

Regan Smith, Lilly King and Gretchen Walsh of Team United States celebrate after winning gold in a world record time in the Women's 4x100m Medley Relay Final on day nine of the Olympic Games Paris 2024 at Paris La Defense Arena on August 04, 2024 in Nanterre, France.  (Maddie Meyer/Getty Images)

US WOMEN'S 4X100M MEDLEY RELAY TEAM WINS GOLD, SETS WORLD RECORD IN LAST OLYMPIC SWIMMING EVENT OF PARIS GAMES

It's the eighth gold medal for the Americans, the most by any country in the swimming pool, beating Australia by one. Their 28 overall swimming medals also were, by far, the most.

The United States has finished gold or silver in the event at each Olympics - this is their 11th time winning it.

women's team cheering

Regan Smith of Team United States reacts in the Women's 4x100m Medley Relay Final on day nine of the Olympic Games Paris 2024 at Paris La Defense Arena on August 04, 2024 in Nanterre, France. (Quinn Rooney/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

It's the fourth gold won by Americans on Sunday (golfer Scottie Scheffler, cyclist Kristen Faulkner, and swimmer Bobby Finke), and the second in the pool.

Follow Fox News Digital’s sports coverage on X, and subscribe to the Fox News Sports Huddle newsletter.