Tatyana Makeyeva,Afp/Getty Images
Russian Elena Dementieva returns a service to Serena Williams.

MOSCOW — Serena Williams was undone by a slew of errors Sunday and lost the Kremlin Cup final 5-7, 6-1, 6-1 to Elena Dementieva, who won her hometown tournament on the third attempt.

Top-seeded Nikolay Davydenko gave Russia a sweep of the men's and women's titles by beating Paul-Henri Mathieu of France 7-5, 7-6 (9) and winning this event for the second straight year. This was the first title of the year for Davydenko, who also won this tournament in 2004.

"I'm really happy to win today," Davydenko said. "Psychologically, it was my most difficult win at the Kremlin Cup."

This was the eighth career title for the Dementieva, who had not beaten Williams in four previous matches. Williams, seeded fourth, had seven aces and made 59 unforced errors.

"It was me," Williams said. "Every ball I hit I felt was out. It was so frustrating."

Dementieva was runner-up in 2001 and 2004.

"It's an incredible feeling when you win at home," she said. "I knew that if I did not beat Serena today, it would never happen again. I just stepped on the court and played my tennis."

Williams, ranked seventh, had not dropped a set on the way to her third final this season. She was playing in Moscow for the first time in a decade. In 1997, the 16-year-old Williams qualified and lost in the first round when she was ranked 448th.

STOCKHOLM OPEN: Big-serving Ivo Karlovic had 27 aces in defeating Thomas Johansson 6-3, 3-6, 6-1 Sunday to win the Stockholm Open for his third career ATP title. After splitting the first two sets on the Royal Tennis Hall's hard court, Karlovic broke the unseeded Swede to lead 2-0 and broke again to take a 4-0 lead. The seventh-seeded Karlovic joined top-ranked Roger Federer as the only players to win singles titles on three different surfaces this year.

BANGKOK OPEN: Italy's Flavia Pennetta outclassed Taiwanese teen Chan Yung-jan 6-1, 6-3 to win the Bangkok Open on Sunday and claim her fourth career title. The No. 7-seeded Italian played aggressively, and Chan struggled to keep up. Pennetta advanced to the final by beating Venus Williams in a semifinal.

SHARAPOVA PULLS OUT: Defending champion Maria Sharapova has pulled out of the Zurich Open, which starts Monday, because of a lingering shoulder injury. The fourth-ranked Russian announced the withdrawal on her Web site Sunday. Sharapova will also miss the Generali Ladies in Linz, Austria, starting Oct. 22, which she also won last year.