NEW YORK (AP) Latvian tennis player Anastasija Sevastova wore a Yankees cap to her news conference after she reached her first major quarterfinal.

She bought it in Europe, not because she's a baseball fan, but simply because she likes the interlocking ''NY'' logo. Turns out, though, that New York is proving a very special place for an athlete who was retired at this time two years ago.

In her second big upset of this U.S. Open, Sevastova beat 13th-seeded Johanna Konta 6-4, 7-5 on Sunday to become the first Latvian woman to make the final eight at a Grand Slam since Larisa Savchenko in 1994.

''I still cannot believe it,'' she said. ''Mentally I'm spent. Totally spent. But it's amazing.''

Sevastova's previous best showing at a major was the round of 16 in the 2011 Australian Open. But after a series of injuries that drained the fun out of tennis, she retired in 2013.

During her break of nearly two years, Sevastova took classes in Austria in ''leisure management'' - studying accounting and marketing in hopes of perhaps going into sports management.

When her health improved, she came out of retirement at the start of last season, never expecting she'd be making a deep run at a Grand Slam so soon.

''I'm playing better in my second career right now,'' she said. ''I'm handling pressure sometimes better than before.''

She's more mature, both mentally and physically, Sevastova said. And it also helped that ''I saw that there is life without tennis.''

As in her second-round upset of third-seeded Garbine Muguruza, Sevastova wobbled under the pressure at first, failing to serve out the match. But as in that victory over the French Open champ, she finally closed out the win with a service break.

Sevastova broke Konta seven times in 11 service games.

''In the end I just stop thinking and I just try to play tennis,'' Sevastova said.

In Konta's second-round match, the Australian Open semifinalist had collapsed to the court with trouble breathing, but she said there weren't any significant lingering issues Sunday. Fatigue was a bigger factor - she's played 18 matches since the end of Wimbledon.

Sevastova, who's ranked 48th, was such an unknown coming into the U.S. Open that initially her picture wasn't included in the official tournament app. She said she wasn't upset because she didn't like the old photo that would have been used. The situation has now been remedied with an updated shot.

She describes herself as a C- or D-list celebrity even back home in Latvia, saying Knicks star Kristaps Porzingis is the closest thing to an A-lister there. Perhaps a Knicks cap or one for the Mets - the baseball team that plays across the street from the U.S. Open - might have been a more obvious choice, but Sevastova is sticking with the navy and white of the Yankees.

She'll next face two-time U.S. Open runner-up Caroline Wozniacki, on a resurgent run with two wins over top-10 players here after Sunday's 6-3, 6-4 victory against eighth-seeded American Madison Keys.

Wozniacki, her ranking down to 74th following a series of injuries, hadn't won four matches in a row since March 2015.

''I know it sounds bad, but honestly, at this point I'm like, I really don't care what my ranking is,'' she said. ''Because if I'm not in the top five, I feel like it's not where I want to be, so at that point, whether I'm 20 in the world or 100 in the world, it doesn't matter because I'm going to play the same people anyway.

''The main thing is that when I'm on court I have to believe in myself. That's what I care about, that I know that I can do it. I know I can beat anyone. I think it just sucks for some of the other players who have to play me early.''

Another past U.S. Open finalist, Roberta Vinci, also moved on Sunday. The seventh-seeded Italian topped 99th-ranked Lesia Tsurenko 7-6 (5), 6-2 to reach the quarterfinals at Flushing Meadows for the fourth time in five years.

She'll face second-seeded Angelique Kerber, who beat two-time Wimbledon champ Petra Kvitova 6-3, 7-5. With Kerber making the quarters, Serena Williams will need to advance to the final to retain the No. 1 ranking.