OMAHA, Neb. (AP) — Katie Ledecky earned her spot for the Rio Olympics, winning the 400-meter freestyle at the U.S. swimming trials Monday night.

The only thing that didn't go her way was another world record.

Ledecky set a blistering pace over the first half of the race, putting her more than 2 seconds ahead of the pace from her record-setting performance at the 2014 Pan Pacific Championships in Australia.

But Ledecky tired a bit over the final 200, another world mark slipping away when she touched in 3 minutes, 58.98 seconds.

Oregon swimmer Jacob Pebley is on to the finals in the men's 100-meter backstroke as he seeks to qualify for the team that will go to Rio. Pebley, who is from Corvallis, finished second in his semifinal heat yesterday behind Ryan Murphy. Pebley's time was 53.10. Patrick Mulcare of Tigard, Oregon, finished seventh in the same heat and did not advance.