MONACO — Stanislas Wawrinka won the Monte Carlo Masters for the first time Sunday, rallying to beat Roger Federer 4-6, 7-6 (5), 6-2 in a rare all-Swiss final. The Australian Open champion had lost his previous two Masters finals and looked like losing a third until Federer's level dropped suddenly late in the second set, and Wawrinka began troubling the 17-time Grand Slam champion with his aggressive backhand. The fourth-seeded Federer, who accepted a wild card invitation to play in the tournament, was also looking to win it for the first time after losing his three previous finals here to eight-time champion Rafael Nadal from 2006-08. Wawrinka has beaten Federer only twice in 15 matches but both victories have come here. He also beat him in the third round in 2009. “It's exceptional to be able to win my first Masters title here,” Wawrinka said. It was the first time that Federer and Wawrinka met in a championship decider. In the last all-Swiss final, Marc Rosset beat Federer in Marseille in 2000. With the third-seeded Wawrinka serving for the match, Federer shouted in frustration as he missed an easy forehand on second serve at 15-15. On the next point, Federer's backhand went wide and Wawrinka clinched the victory with a crisp forehand winner that landed on the line. The players, who are good friends, shared a warm hug at the net. “I had a great week here,” Federer said. “Congratulations to Stan.” It is the seventh title of the 29-year-old Wawrinka's career, and his third this year. He lost his previous Masters finals at Madrid last year and Rome in 2008. “I am really happy, after having won a first Grand Slam title to win a Masters, it's outstanding,” Wawrinka said. “Roger, you're the best player ever, it's always special for me to play against you and I hope we will have a great year.” Vekic upsets Cibulkova Croatia's Donna Vekic became the first player under 18 to win a WTA title for eight years on Sunday when she stunned top seed Dominika Cibulkova 5-7, 7-5, 7-6 (7/4) in the Malaysian Open final. The 17-year-old shrugged off another rain-hit day to beat the world No. 10 Slovakian and win her first title after two unsuccessful final appearances in Tashkent in 2012 and Birmingham in 2013. Vekic's win was also her first victory over a top 10 player. — Agencies