He returned to Peterborough and was part of the team that won promotion to the Championship during the 2010–11 campaign. In February 2013, he joined Hull City on loan for the remainder of the 2012–13 season, and he helped the club earn promotion back to the Premier League during his time there. Shortly after the end of the season, he signed for the club on a permanent basis. A move to Burnley followed in September 2014, where he spent three seasons, helping the club back to the Premier League during the 2015–16 campaign. He subsequently joined Sheffield Wednesday in July 2017 and spent two seasons there. He returned to Peterborough United in July 2019.