Two-time All-Met Swimmer of the Year Katie Ledecky is bound for Palo Alto. (Jonathan Newton/The Washington Post)

Stone Ridge junior, Olympic gold medalist and four-time world champion Katie Ledecky has orally committed to swim for Stanford.

In a news release issued Thursday, Ledecky, 17, explained her decision to attend college rather than turn professional when she graduates from Stone Ridge next spring.

“I am thrilled to announce that upon completion of my high school education, I am committed to pursue my education at Stanford and very much look forward to the opportunity to swim for the Stanford Cardinal women’s team in NCAA competition,” Ledecky said. “I am very excited about the educational opportunities that will be available to me at Stanford and to swim for its great NCAA program under the leadership of Coach Greg Meehan and assistant coach Tracy Duchac.”

A two-time All-Met Swimmer of the Year, Ledecky burst onto the global swimming scene with her stunning performance in the 800-meter freestyle at the London Games. She followed up her international debut with world records in the 800 and 1,500 at the Barcelona World Championships last summer. After another banner season in which she set three records at the Washington Metropolitan Interscholastic Swim & Dive Championship in February, Ledecky now owns five American records.

“Katie’s success as a swimmer and a student are truly exceptional and provides us all with great inspiration,” Stone Ridge Head of School Catherine Ronan Karrels said. “She has made tremendous contributions at Stone Ridge with her talents, strong faith, self-discipline, courage and confidence. Katie will surely thrive at Stanford and in her future pursuits.”

Ledecky will join 2011-12 All-Met Swimmer of the Year and Oakton senior Janet Hu and national team roommate Simone Manuel of Texas — both from the class of 2014 — in Palo Alto to help propel a loaded Cardinal women’s team that finished the season ranked fourth in the CSCAA rankings.

More on Ledecky: Olympic gold medalist Ledecky still at home in the high school pool Ledecky sets three records at Metros

Recruit Watch: The latest offers and commitments

Reach for the Wall: Full swimming coverage