SHANGHAI(AP) Nikolay Davydenko has upset top-seeded Rafael Nadal 7-6 (3), 6-3 to win the Shanghai Masters for his fourth title of the year.

The sixth-seeded Russian broke decisively in the sixth game of the second set to collect his 18th career title on Sunday.

Nadal returned last week after a month out due to a pulled stomach muscle at the U.S. Open. The Spaniard looked rusty, having advanced twice when his opponents retired: Ivan Ljubicic of Croatia in the quarterfinals and Feliciano Lopez of Spain in the semifinals.

Davydenko also won tournaments in Hamburg; Umag, Russia and Kuala Lumpur this year.