in the deciding set. In the semi-final, he lost to defending champion Roger Federer in straight sets, and after Federer went on to win the tournament, this result saw Murray return to the No. 3 ranking and seeding for the US Open. At the US Open, Murray beat Nick Kyrgios in four sets before beating Adrian Mannarino in five sets after being two sets down, equaling Federer for winning eight matches from two sets to love down. He then beat Thomaz Bellucci in straight sets but suffered a defeat in the fourth round to Kevin Anderson in four sets. This ended Murray's five-year run of 18 consecutive Grand Slam quarter-finals (not counting his withdrawal from the 2013 French Open) since his third round loss to Stan Wawrinka in the 2010 US Open. Playing against Australia in the semi-finals of the Davis Cup World Group in Glasgow, Murray won both his singles rubbers in straight sets, against Thanasi Kokkinakis and Bernard Tomic. He also partnered his brother Jamie, and they won in five sets against the pairing of Sam Groth and Lleyton Hewitt, the results guiding Great Britain to the Davis Cup final for the first time since 1978 with a 3–2 lead over Australia. After losing in the semi-finals of the Shanghai Masters to Djokovic in straight sets, Murray reached the finals of the Paris Masters for the loss of just one set, with victories against Borna Ćorić, David Goffin and David Ferrer. After a three set win over Richard Gasquet, he joined Novak Djokovic, Roger Federer and Rafael Nadal as the only players to reach the semi-finals (or better) at all nine of the ATP World Tour Masters 1000 tournaments, and also ensured that he compiled his best match record in a single season. He then lost the final to Djokovic again in straight sets. As the world No. 2, Murray participated in the ATP World Tour Finals in London, and was drawn into the Ilie Năstase group with David Ferrer, Rafael Nadal and Stan Wawrinka. He went out in the round-robin stage, after defeating Ferrer and losing to Nadal and Wawrinka. However, after Federer failed to win the tournament, he finished the season ranked No. 2 for the first time. In the Davis Cup final, Murray's victory over Ruben Bemelmans in straight sets pulled Great Britain level in the final after Kyle Edmund had lost the first singles