Miami: Britain's Andy Murray defeated Spain's David Ferrer 2-6 6-4 7-6 in a gruelling Sony Open final on Sunday to move above Roger Federer to second in the world rankings.
Murray was far from at his best against a dogged Ferrer but won the tie-break comfortably 7-1 after surviving a scare when the Spaniard had match point at 6-5 up, with Murray serving, in the third.
Murray's forehand landed close to the line and he faced a challenge from Ferrer but the ball was shown in and the Scot won the next two points to force the tie-break.
The 2-6 6-4 7-6 victory was Murray's ninth in a Masters 1000 series event.
The match was littered with errors, particularly in the third set when neither player could hold serve in the first six games.
But it was an enthralling duel in the mid-day heat at Key Biscayne with neither player flinching as they scrapped to the end.
"It was such a tough match, it could have gone either way, both of us were struggling physically at the end," said Murray whose victory was his second at Miami following his triumph in 2009.
"It's so tough against him. He has a great attitude, he's a great fighter. I am sure we will have more tough matches in the future," added the Scot.
The victory was Murray's ninth in a Masters 1000 series event.