FILE - In this Aug. 9, 2016, file photo, United States' Katie Ledecky shows off her gold medal during the ceremony for the women's 200-meter freestyle final during the swimming competitions at the 2016 Summer Olympics, in Rio de Janeiro, Brazil. Ledecky is turning pro. The five-time Olympic gold medalist announced on Twitter that she is giving up her final two years of eligibility at Stanford, though she will continue to train at the West Coast school as she works toward her degree. (AP Photo/Michael Sohn, File)
FILE - In this Aug. 9, 2016, file photo, United States' Katie Ledecky shows off her gold medal during the ceremony for the women's 200-meter freestyle final during the swimming competitions at the 2016 Summer Olympics, in Rio de Janeiro, Brazil. Ledecky is turning pro. The five-time Olympic gold medalist announced on Twitter that she is giving up her final two years of eligibility at Stanford, though she will continue to train at the West Coast school as she works toward her degree. (AP Photo/Michael Sohn, File) Credit: Michael Sohn

Katie Ledecky is turning pro.

The five-time Olympic swimming gold medalist gave up her final two years of eligibility at Stanford, allowing her to concentrate on training for the 2020 Olympics while cashing in on sponsorship and endorsement deals that wouldnโ€™t have been available to her as a college athlete.

Other than the financial windfall, Ledecky isnโ€™t planning any big changes. She will continue training on the West Coast under coach Greg Meeham while working toward her degree at Stanford, where sheโ€™s been focused on psychology and political science.

According to Ledecky, Meehan felt this was the best time for her to join the professional ranks.

โ€œItโ€™s a decision that I didnโ€™t make just in this last week. Itโ€™s something that over the last few months Iโ€™ve been discussing,โ€ Ledecky said at the Washington Press Club, where she made the announcement Monday while home on spring break. โ€œItโ€™s something I couldโ€™ve done in two years once I completed my eligibility, but this gives me some time before 2020 to really focus in on getting all the pieces in place so I can really train hard and focus on my training leading up to 2020.โ€

The 21-year-old Ledecky helped Stanford capture two womenโ€™s national championships, the schoolโ€™s first back-to-back titles since winning five straight from 1992-96. She won five individual titles at the NCAA championships, the most recent of which was held two weekends ago in Columbus, Ohio. While winning her second straight championship in the 1,650-yard free, Ledecky lapped the field and finished nearly 30 seconds ahead of the runner-up.

โ€œIโ€™m excited to become a professional athlete while training at Stanford and finishing my degree,โ€ she wrote on Twitter. โ€œThank you Stanford Womenโ€™s Swimming & Diving for two amazing seasons, and many thanks to my family, friends and fans for the continued support.โ€

As a college athlete, Ledecky wasnโ€™t allowed to sign with sponsors or take endorsement deals that provide the bulk of the income for top swimmers, which would have cost her potentially millions of dollars ahead of next yearโ€™s world championships in South Korea and the 2020 Tokyo Games, where she is again expected to be one of the biggest stars.

Ledecky won four golds and a relay silver at the 2016 Rio Olympics. She currently holds world records in three freestyle events covering 400, 800 and 1,500-meters.

Last summer, Ledecky competed in six events at the world championships in Budapest, Hungary โ€” winning five golds and a silver โ€” and she will likely hope to duplicate that grueling schedule in Tokyo now that the 1,500 free has been added to the program as a womenโ€™s event.

โ€œItโ€™s something that Iโ€™m really excited about,โ€ Ledecky said. โ€œIโ€™m going to be continuing to train and go to school at Stanford, and continue to keep my focus where itโ€™s already been, which is on my studies and my swimming and what matters to me, and I get to do it around some really great people.โ€