Davydenko, Gasquet, Tsonga, and Michaël Llodra in the final to get his tenth ATP championship. Del Potro then had a good run in Dubai, reaching the semifinals, then losing to Roger Federer again in straight sets. Del Potro lost in the quarterfinals of the BNP Paribas Open to Federer for the fourth time that year. He made it to the fourth round of the Sony Ericsson Open, but lost to David Ferrer in two sets. Del Potro started his clay-court campaign of 2012 in the Davis Cup Quarterfinals against Croatia. He won his first rubber against Ivo Karlović and then demolished Marin Čilić in the reverse singles. He continued his clay-court season at the Estoril Open, where he was the defending champion and the top seed. He did not drop a set en route to the finals, where he beat Frenchman Richard Gasquet in straight sets in the final to collect his 11th ATP World Tour title. He next competed in the Madrid Masters as the twelfth seed and defeated Florian Mayer, Mikhail Youzhny, Marin Čilić, Alexandr Dolgopolov, but lost to Tomáš Berdych in the semifinals. Del Potro played at the second Grand Slam of the year, the French Open, where he was seeded ninth. Del Potro defeated Albert Montañés, Édouard Roger-Vasselin and Marin Čilić. He defeated seventh seed Tomáš Berdych before losing to Roger Federer in the quarterfinals in five sets, after being up two sets to love. At Wimbledon, del Potro beat Robin Haase, Go Soeda, and Kei Nishikori, before losing to David Ferrer in the fourth round. At the Olympic Games, also held at the All England Club in Wimbledon, del Potro faced Roger Federer in the semifinals, which resulted in the longest "best of three sets" tennis match by duration in history, lasting four hours and 26 minutes, half an hour longer than the previous record holder, a Milos Raonic – Jo-Wilfried Tsonga match that took place three days earlier; the final set took two hours and 43 minutes. Del Potro lost the match, 6–3, 6–7, 17–19. Less than two hours after this marathon, del Potro took to the tennis court again with Gisela Dulko for their quarterfinal mixed doubles match against Lisa Raymond and Mike Bryan, which they lost. Two days later, del Potro defeated Novak Djokovic in the bronze-medal match. It was del Potro's first victory over Djokovic, excluding a win that occurred in