Hamm says she wants to focus on family

NEW YORK -- Mia Hamm is planning to hang up her cleats.

Hamm, one of the stars of the U.S. women's teams that won World Cups and gold medals, announced Friday that she will retire from major competitions after this summer's Olympics, Bloomberg reported.

The top scorer in international soccer history, Hamm told reporters at an Olympics news conference that she is taking her cue from Pete Sampras' retirement speech.

"As Pete said, sometimes you just know the time is the right time," Hamm said. "I've enjoyed every minute and I've learned a lot, but it's time to take the next step in my life."

Hamm married Red Sox shortstop Nomar Garciaparra last year.

"I might want to have children, and I want to reconnect with my family, which was always there for me," she said. "I want to be the best wife I can be."

Hamm has 149 goals in 256 international matches, more than any player, male or female.