BARCELONA, Spain (AP)—Rafael Nadal beat David Ferrer 6-2, 6-4 in their second all-Spanish final in two weeks to claim his sixth Barcelona Open title Sunday.

The top-ranked Spaniard won his 29th straight match at the clay court event when the fourth-seeded Ferrer hit his backhand wide. Nadal’s sole loss at Barcelona came at the hands of another countryman, Alex Corretja, in 2003.

It was Nadal’s 45th career ATP title and his second consecutive trophy after beating Ferrer at Monte Carlo in straight sets April 17.

“I am very happy for the victory. It is incredible to come back and win here after the difficult decision to not play last year,” Nadal told Spanish national television.

Nadal won at Barcelona from 2005-09, including finals victories over Ferrer in 2008 and 2009, before sitting out last year’s edition to rest.

Nadal improved his career record against Ferrer to 13-5, including a 5-0 record in finals. He has beaten Ferrer 10 straight times on clay since losing to him in 2004.

Ferrer has played in four finals this year, winning two and finishing as runner-up to Nadal twice.

“I am sorry for David. He is having a great season and he deserves a victory. He has had bad luck losing all three finals here to me,” Nadal said.

The 24-year-old Nadal became the first player to win two tournaments six or more times—he has won Monte Carlo seven times—in the tour’s Open era.

His 31st clay court title also moved him into third place all time. The last time he lost on his preferred surface was to Robin Soderling at the 2009 French Open.

Both players struggled to hold their serve in a match that saw six breaks for Nadal and three for Ferrer.

Nadal hit one of his patented left-hand drives into the corner to break Ferrer in the first game of the second set, but Ferrer began to show some of the fight from Monte Carlo when he tested Nadal before falling 6-4, 7-5.

The second-highest-ranked Spanish player saved a break point to hold in the third game and broke Nadal’s serve when he forced Nadal to return long in the fourth, pulling even at 2-2.

As Ferrer reduced his errors, Nadal’s volleys started to drift wide and he was broken for a second straight game when Ferrer’s forehand winner gave him a 4-2 lead.

But Nadal responded, swatting Ferrer’s drop shot to break him in the seventh game, and he broke his opponent again in his next service game to regain the lead for good when Ferrer’s cross shot landed wide.