departure of club captain Wayne Rooney from Manchester United in July 2017, Carrick was appointed as Rooney's replacement. In November 2017, Carrick announced that he had undergone a procedure for an irregular heart rhythm after suffering dizziness during a match and in training. The medical treatment was successful and he returned to United's first-team squad as club captain. In January 2018, Carrick accepted an offer to join the club's first-team coaching staff after his retirement at the end of the 2017–18 season. He made his 464th and final appearance as a player for Manchester United in the last match of the league season against Watford at Old Trafford on 13 May, in which he helped create Marcus Rashford's game-winning goal as his side won 1–0. Carrick was substituted towards the end of the match to allow the fans to give him a standing ovation. International career Carrick was capped by the England national under-18 and under-21 teams before receiving his first call-up to the senior team in Sven-Göran Eriksson's first game in charge of England in February 2001. Despite being named in the 31-man squad to face Spain, he was an unused substitute in England's 3–0 victory on 28 February. Three months later he made his England debut, replacing David Beckham as a second-half substitute in a 4–0 friendly win over Mexico. His full debut came during their 2–1 victory over the United States on 28 May 2005. Three days later Carrick started again in a 3–2 victory over Colombia in the final game of their tour of the US. On 8 May 2006, Eriksson named Carrick in a 23-man provisional squad for the 2006 FIFA World Cup, eventually being named in the final 23-man squad for the tournament in Germany. He was an unused substitute for all three of England's Group B games as they advanced to the knockout stage. Carrick played just one game in the tournament, a 1–0 victory in the second round match against Ecuador on 25 June. The next game he was dropped to the bench for the quarter-final tie against Portugal, with Owen Hargreaves replacing him. The game ended goalless after extra time, Portugal won 3–1 in the subsequent penalty shootout and knocked England out of the World Cup. Carrick had been regularly overlooked by various England managers when it came to the central roles, with Frank Lampard and Steven Gerrard generally being preferred.