Britain's Andy Murray fought back for a 6-7 6-1 6-2 win over France's Richard Gasquet to reach the final of the Sony Open where he will face Spaniard David Ferrer on Sunday.
Murray recovered after making a mess of the first set where he was serving for it at 5-4 but double-faulted on break point and ended up losing out in the tie-break.
Gasquet had been playing some inspired tennis but he was outplayed in the second set and the Scotsman never looked in danger in the third.
A victory over Ferrer in the final would move Murray above Roger Federer into second place in the world rankings.
Ferrer ended German Tommy Haas's dream of reaching the Sony Open final with a 4-6 6-2 6-3 victory in Friday's semi-final.
The 34-year-old Haas, whose career looked close to finished after a series of injuries, beat world number one Novak Djokovic on his way to the last four and threatened another upset at Key Biscayne.
After the German clinched the first set, Ferrer turned things around in the second but trailed 3-1 in the third with Haas sensing a real chance of his first Masters Series final in 11 years.
But Ferrer fought back, taking advantage of some unforced errors from the fading German to secure the victory and his first place in a final at Miami.
Ferrer is bidding to lift his second Masters 1000 victory, having triumphed over Jerzy Janowicz in Paris last November.
The Spaniard was a beaten semi-finalist in Miami in 2005 and 2006. (Editing by Gene Cherry/Patrick Johnston)