Roger Federer became the oldest number one singles player in tennis history after beating Robin Haase in the ABN AMRO World Tennis Tournament quarter-finals in Rotterdam on Friday.

The 36-year-old Swiss, who won his 20th grand slam last month by claiming a sixth Australian Open title, replaced Rafael Nadal at the top of the ATP rankings with a 4-6 6-1 6-1 victory over Dutchman Haase.

Federer has surpassed Andre Agassi as the oldest player to occupy the summit of the men’s game – the American was 33 when he was last on top in September 2003.

His return to the top spot will be formally rubber-stamped when the men’s tour rankings are published on Monday morning.

Federer also beats the mark set by the record holder in the women’s game, Agassi’s American compatriot Serena Williams, who was 35 when she was last number one in May last year.

Federer was last number one in October 2012, and first had the status in February 2004.

He took one hour and 19 minutes to win on Friday evening, responding in emphatic fashion after losing a first set that had seen Haase break in the ninth game.

Federer looked emotional after sealing victory, and having been presented with a trophy to mark his historic achievement, he said in an interview on court shown on Sky Sports: “I think reaching number one is one of, if not the ultimate achievement in our sport.

“When you are older, you feel like you have to put maybe sometimes double the work in, so this one maybe means the most to me throughout my career.

“Getting to number one and enjoying it right here at 36, almost 37 years old, is an absolute dream come true and I can’t believe it.

“It’s an opportunity to thank my great team that put in all the hard work with me, I have to work harder these days and more than ever, so without them it wouldn’t be possible. And I’d like to thank my wife and my children, everybody.”