<P> Federer won his first Master Series event at the 2002 Hamburg Masters on clay, over Marat Safin; the victory put him in top 10 for the first time . Federer made 10 singles finals between 1998 and 2002, of which he won four and lost six . He also made six finals in doubles . Of note are Federer and partner Max Mirnyi's defeat in the final of the Indian Wells Masters in 2002, and their victory in the same year in the final of the Rotterdam 500 series event . Federer had won the latter a year earlier with partner Jonas Björkman . He finished 2001 with an ATP ranking of #13, and 2002 was the first year he was ranked within the top 10, finishing at #6 . </P> <P> In 2003, Federer won his first Grand Slam singles title at Wimbledon, beating Mark Philippoussis in the final . Federer won his first and only doubles Masters Series 1000 event in Miami with Max Mirnyi and made it to one singles Masters Series 1000 event in Rome on clay, which he lost . Federer made it to nine finals on the ATP Tour and won seven of them, including the 500 series events at Dubai and Vienna . Lastly, Federer won the year - end championships over Andre Agassi, finishing the year as world #2, narrowly behind Andy Roddick by only 160 points . </P> <P> During 2004, Federer won three Grand Slam singles titles for the first time in his career and became the first person to do so since Mats Wilander in 1988 . His first major hard - court title came at the Australian Open over Marat Safin, thereby becoming the world #1 for the first time . He then won his second Wimbledon crown over Andy Roddick . Federer defeated the 2001 US Open champion, Lleyton Hewitt, at the US Open for his first title there . </P> <P> Federer won three ATP Masters Series 1000 events, one was on clay in Hamburg, and the other two were on hard surfaces at Indian Wells and in Canada . Federer took the ATP 500 series event at Dubai and wrapped up the year by winning the year - end championships for the second time . He also won his first tournament on home soil by capturing the Swiss Open in Gstaad . His 11 singles titles were the most of any player in two decades, and his record of 74--6 was the best since Ivan Lendl in 1986 . He improved his year - end ranking to world #1 for the first time . </P>

When did roger federer win his first major