David Peter Gray (born 4 May 1988) is a Scottish former footballer and coach, who is currently the first-team coach of Hibernian. He represented Scotland at both under-19 and under-21 level. Gray progressed through Heart of Midlothian's youth system, before joining Manchester United for a fee of £50,000 in 2004. He spent six years at Manchester United, making one first-team appearance in a League Cup fixture in 2006. During his six-year tenure with the club, Gray was loaned on four occasions; spending time at Royal Antwerp, Crewe Alexandra, as well as two loan spells at Plymouth Argyle. Gray was released by Manchester United in 2010 and then signed for Preston North End. Gray spent two seasons at Preston, before being released at the end of the 2011–12 season. He then had spells at Stevenage and Burton Albion before signing for Hibs in 2014. Prior to his second season at the club, Gray was given the captain's armband by Hibs manager Alan Stubbs, taking over from Liam Craig. Gray scored the winning goal in the 2016 Scottish Cup final for Hibs against Rangers, their first Scottish Cup win since 1902. He retired from playing in June 2021 and became a first-team coach at Hibs. Gray has since been the caretaker manager of Hibs in two different spells. Club career Early career Gray began his career in the Heart of Midlothian youth academy. He was selected for the Lothian Schools XI in 2002 while a pupil at Beeslack High School in Penicuik, along with other Hearts youngsters John Armstrong, Jason Thomson and Andrew Driver. Gray progressed through the youth ranks up until the age of 16, when he attracted the interest of Manchester United, and signed for the club for a fee of £50,000 in 2004. Gray was signed by the club as a winger, although Manchester United's coaching staff felt he was better suited as a full-back, and subsequently deployed him in the right-back position for the majority of the club's reserve games during the 2005–06 season. After impressing during his first full season in the reserve side, Gray made his first-team debut for Manchester United during the 2006–07 season, playing the first 77 minutes in the club's 2–1 victory over Crewe Alexandra in the League Cup in October 2006. It ultimately turned out to be Gray's only first-team appearance for the club. Three months after making his first-team debut, in