Abby Wambach is leaving her game just the way she wanted to: As a champion.
The leading career scorer -- male or female -- in international soccer, Wambach announced her retirement on Tuesday shortly after the U.S. national team celebrated its Women's World Cup victory at the White House.
Wambach, 35, said before the World Cup this summer in Canada that she wanted to cap her 15-year career with the game's most prestigious championship.
She got her wish. The United States claimed its third overall World Cup title, and first since 1999, with a 5-2 victory over Japan.
"After much deliberation and talking with my friends, family, teammates and our coaching staff, I've decided to finally bring my soccer career to an end," Wambach said in a statement Tuesday. "While we still have more work to do for women's soccer, after bringing the World Cup back to the United States this summer, I'm feeling extremely optimistic about the future of our sport. It's been an amazing, wonderful ride and I can't wait to see what the next chapter of my life brings."
Wambach said she was fairly sure after the U.S. won this summer's World Cup that she would retire.
"I was 95 percent certain," Wambach said Wednesday. "But I also know myself well enough to know that I wanted to make sure it wasn't an impulsive choice and that I was sure it was what I wanted and it would be best not just for me personally but also for this team."
The prolific scorer, named the 2012 FIFA Player of the Year, has 184 goals in 252 international matches.
She will play the final four matches of the national team's 10-game victory tour before stepping down. Her final match will be Dec. 16 against China in New Orleans.
"I've been hesitant to release this because I don't want the victory tour to turn into a farewell tour for Abby," Wambach said Wednesday..
Wambach appeared in four World Cups with the national team. She also has a pair of Olympic gold medals from the 2004 Games in Athens and the 2012 Games in London. She did not compete in the Beijing Games because of a broken leg.
Perhaps one of her most famous goals came in the quarterfinals of the 2011 World Cup in Germany, when she scored the equalizer against Brazil in the 122nd minute.
She finishes as the all-time leading U.S. scorer in both Olympic and World Cup games. She played 25 total World Cup matches with 14 goals, second only to Brazil's Marta. She played in 10 Olympic matches with nine goals.
Overall, she's also the leader in multiple-goal games with 45, including two four-goal games and a five-goal game.
She joins Mia Hamm as the only Americans to win FIFA's player of the year honors.
Hamm took to Twitter to congratulate Wambach:
Before she announced her retirement, Wambach and her teammates were feted by President Barack Obama at the White House.
"This team taught all America's children that playing like a girl means you're a badass," Obama said, to applause in the White House East Room. "Perhaps I shouldn't have used that phrase. Playing like a girl means being the best."
After the ceremony, Wambach took a selfie with Obama and her teammates.
The United States dominated Japan in the World Cup title game after a monthlong tournament that crisscrossed Canada. Carli Lloyd was named the tournament's MVP after scoring three goals in the span of 16 minutes in the final match.
Wambach saw her role with the team change during the World Cup. She came in off the bench in several matches, sacrificing a starting role for the good of the team.
"I just have this belief system, and I've talked about it my whole career, that it takes a whole team. It's not about one person. It will never be about one person in a team sport," she said before the final match.
Wambach made it her mission throughout her career to help grow the women's game, and to fight for equal rights for female athletes. She led a group of players in protesting FIFA's decision to play the 2015 World Cup on artificial turf, which is considered by many players to be inferior to grass. In the end, the tournament was still held on the fake grass, but Wambach had made her point.
"What she has done for women's soccer and women's sports overall with her amazing talents on the field and her personality off it has been inspiring to watch," U.S. coach Jill Ellis said. "I am just extremely happy that she could end her career with that elusive World Cup title and go out on top, right where she deserves to be."
Lisa De Vanna, co-captain of the Australian women's team, went to Twitter:
Wambach, who is scheduled to speak before the National Press Club in Washington, D.C., on Wednesday, thanked her fans with a tweet:
Information from The Associated Press was used in this report.