Carrow Road. The injury ruled Gray out for the remainder of the season, as Preston were ultimately relegated to League One. During his first season with the club, he made 25 appearances in all competitions. Ahead of the 2011–12 season, in June 2011, Gray was given permission by a specialist to begin training, just three months after he broke his leg. As expected, he missed the first month of the new campaign as a result of his delayed start to pre-season training, but eventually made his comeback appearance as a second-half substitute in a 2–1 defeat to Southampton in the League Cup on 21 September 2011. He went on to make 27 appearances for Preston during the season. Gray's contract at Preston expired at the end of the season, and he was released by the club in May 2012. Stevenage In June 2012, Gray signed for League One side Stevenage on a free transfer. He made his debut for the club on the opening day of the 2012–13 season, playing the whole match in a 3–1 home win against AFC Wimbledon in the League Cup. Gray played regularly at right-back throughout the season, making 46 appearances in all competitions. He was placed on the transfer list in May 2013. With Gray entering the final year of his contract at Stevenage, new manager Graham Westley felt he would not play as much as he would have liked, and therefore it was "better for all" that Gray "move on to develop his career". Burton Albion Gray signed for Burton Albion in January 2014 on a contract until the end of the 2013–14 season. He made 12 appearances in 2013–14 Football League Two for Burton. Hibernian Gray signed a two-year contract with Scottish Championship club Hibernian in July 2014. He scored his first ever professional goal on 29 September 2014, in a 3–1 win over Rangers. In total, Gray made 34 appearances and scored three goals for Hibs in the 2014–15 season. Gray was appointed captain at the end of the season, after the departure of Liam Craig, and also extended his contract until 2017. At the end of the season, Gray wrote himself into Hibernian folklore by becoming the captain of the first Hibs side to win the Scottish Cup in 114 years, scoring the stoppage-time winner against Rangers in the 2016 final. Gray scored in a 3–0 win against Queen of