 Federer and Agassi played each other 11 times between 1998 and 2005 before Agassi 's retirement in 2006 . Federer led the rivalry 8 – 3 . This was Federer 's most significant rivalry with an all @-@ time great player of the previous generation . They first met in only the third tournament of Federer 's career at the 1998 Swiss Indoors in Federer 's hometown , with Agassi prevailing over the 17 @-@ year @-@ old . Agassi also defeated Federer at the 2001 US Open and the finals of the Miami Masters in 2002 . Federer began to turn the tide at the Masters Cup in 2003 , when he defeated Agassi in both the round robin and the final . They played a memorable quarterfinal match at the 2004 US Open that spanned over 2 days with Federer eventually prevailing in 5 sets . At the 2005 Dubai Championships , Federer and Agassi attracted worldwide headlines with a publicity stunt that saw the two tennis legends play on a helipad almost 700 feet above sea level at the world famous seven @-@ star luxury hotel the Burj al @-@ Arab . Their final match was at one of the most prestigious platforms in the sport , when they played in the finals of the 2005 US Open . Federer was victorious in four sets , claiming the 6th Grand Slam tournament of his career and denying Agassi his 9th . 
 Federer and Agassi<a href='been_done' title='1'><mark></mark></a> played each other 11 times between 1998 and 2005 before Agassi <a href='null_genetive' title='2'><mark>'s</mark></a>retirement in 2006 . Federer<a href='been_done' title='3'><mark></mark></a> led the rivalry 8 – 3 . This was Federer <a href='null_genetive' title='4'><mark>'s</mark></a>most significant rivalry with an all @-@ time great player of the previous generation . They first met in only the third tournament of Federer <a href='null_genetive' title='5'><mark>'s</mark></a>career at the 1998 Swiss Indoors in Federer <a href='null_genetive' title='6'><mark>'s</mark></a>hometown , with Agassi prevailing over the 17 @-@ year @-@ old . Agassi also defeated Federer at the 2001 US Open and the finals of the Miami Masters in 2002 . Federer began to turn the tide at the Masters Cup in 2003 , when he defeated Agassi in both the round robin and the final . They played a memorable quarterfinal match at the 2004 US Open <a href='null_relcl' title='7'><mark>that</mark></a>spanned over 2 days with Federer eventually prevailing in 5 sets . At the 2005 Dubai Championships , Federer and Agassi attracted worldwide headlines with a publicity stunt <a href='null_relcl' title='8'><mark>that</mark></a>saw the two tennis legends play on a helipad almost 700 feet above sea level at the world famous seven @-@ star luxury hotel the Burj al @-@ Arab . Their final match was at one of the most prestigious platforms in the sport , when they played in the finals of the 2005 US Open . Federer was victorious in four sets , claiming the 6th Grand Slam tournament of his career and denying Agassi his 9th . 
Federer and Agassi been played each other 11 times between 1998 and 2005 b4 Agassi  retirement in 2006 . Federer done led the rivalry 8 – 3 . dis was Federer  most significant rivalry wid an alll @-@ time great player of the previous generation . They first met in only the third tournament of Federer  career at the 1998 Swiss Indoors in Federer  hometown , with Agassi prevailing over the 17 @-@ year @-@ old . Agassi also defeated Federer at da 2001 US Open and the finals of the Miami Masters in 2002 . Federer began to turn the tide at tdaMasters Cup in 2003 , when he defeated Agassi in both thdaound robin and thedanal . They played a memorable quarterfinal match at the 2004 US Open spanned ova 2 days with Federer eventually prevailing in 5 sets . At the da5 Dubai Championships , Federer and Agassi attracted worldwide headlines with a publicity stunt saw the 2 tennis legends play on a helipad almost 700 feet above sea level at the wdad famous seven @-@ star luxury hotel the Burj al @-@ Arab . Their final match was at one of the most prestigious platforms in the sport , when they played in the finals of the 2005 US Open . Federer was victorious in 4 sets , claimin the 6th Grand Slam tournament of his career and denying Agassi his 9th .