Updated

Shenzhen, China (SportsNetwork.com) - Andy Murray saved five match points and outlasted Spain's Tommy Robredo in three sets to capture the inaugural Shenzhen Open on Sunday.

Murray earned a 5-7, 7-6 (11-9), 6-1 victory for his 29th career title and first since his historic run at Wimbledon in July of 2013.

The 27-year-old Scot underwent back surgery late last year and his best results in 2014 prior to this week were semifinal appearances in Acapulco and the French Open. He was stopped in the quarterfinals of his last four events -- Wimbledon, Toronto, Cincinnati and the U.S. Open.

"It's been a long time since I won a tournament," said Murray. "It was an emotional week for me. I managed to fight my way through it, win the title, and hopefully I can win another one before the end of the year."

Murray will play next week in Beijing and it appeared he would head into that tournament as this week's runner-up, trailing the second-set tiebreaker 6-2.

Robredo, though, squandered four straight match points as Murray evened it at 6-6. The Spaniard had yet another match point at 7-6, but again failed to convert and Murray managed to win the set. He then dominated the third.

"I got lucky, basically, at the end of the second set," Murray said. "I fought hard, tried my best and thankfully managed to turn it around. Tommy had a great tournament. He probably deserved to win the match today. He had the opportunities in the second set, but sometimes that happens in sport. I just tried to fight till the end."

Robredo fell to 12-9 all-time in finals, including 0-2 this year. He lost to Pablo Cuevas in July at Croatia and hasn't won a title since claiming the Croatia Open crown in 2013.

"When you finish second in a tournament it's always great," said Robredo. "In a match like today that was so close, it's tough to accept it. But Andy did a great job. He was pushing right until the end, and in the end he deserved it. It was a good experience to learn from. I will keep working and hopefully next time I can win."

Murray improved to 4-2 against Robredo, winning each of the last four matches. The two last met in the third round at Wimbledon in 2013, an easy straight-set win for the London resident.

Robredo's last victory over Murray came at the Metz final in 2007, a three-set win that also resulted in the last hardcourt title for the 32-year-old veteran.

Murray, who improved to 29-14 all-time in finals, earned a first prize of $106,970.