Federer defeated Andy Murray in four sets in the 2012 Wimbledon final,[89] regaining the No. 1 ranking in the process.[90] "It's amazing. It equals me with Pete Sampras, who's my hero. It just feels amazing", Federer said of winning his seventh Wimbledon championship, tying Sampras' Open Era record.[91] By defeating top-ranked Djokovic in the semifinals and winning in the finals, Federer returned to the top spot in the world rankings and, in doing so, broke Sampras' record of 286 weeks atop the list.[92]