to the team was ended by an ankle injury in April. Leicester were relegated at the end of the season, and Wright played seven Championship and two cup games in the 2004–05 campaign. He joined League One Blackpool on loan at the start of the 2005–06 season, and hit six goals in fifteen games under the management of Colin Hendry and then Simon Grayson. Wright signed for League One Barnsley on 1 January 2006 for a £50,000 fee. Manager Andy Ritchie led the Tykes to promotion via the play-offs in 2005–06; Wright scored once in 22 appearances. He appeared in the play-off final victory over Swansea City at the Millennium Stadium after coming on for Marc Richards after 70 minutes. Barnsley's promotion to the Championship saw Wright figure more from the bench for the Yorkshire side during the 2006–07 season, and in November he was sent on a two-month loan to League Two side Walsall. Scoring on his debut at the Bescot Stadium, he netted twice in five starts for the Saddlers, who went on to top the division under manager Richard Money. Having failed to agree personal terms with Rotherham United, Wright signed with Dave Penney's Darlington, also of League Two. He finished the season with four goals in 13 appearances for the Quakers. He fired Darlington into the play-offs in 2007–08, where they were knocked out by Rochdale at the semi-final stage; Wright finished as the club's top scorer with thirteen goals. He was nominated for the League Two player of the month award for January after scoring three goals in the space of six games, but lost out to Grimsby Town's Danny North. On 8 August 2008, Wright was transferred to Scottish Premier League club Aberdeen, manager Jimmy Calderwood paying a fee of £100,000; the deal had been delayed while Wright was recovering from a knee injury. Wright caused a stir in his first appearance in an Aberdeen shirt, receiving a yellow card for a reckless challenge, and allegedly attempting to headbutt Motherwell defender Stephen Craigan. He scored his first senior goal for the Dons from the edge of the area in a Scottish Cup fifth-round tie against East Fife at Pittodrie on 17 February. Shortly after, on 3 March, he netted his first SPL goal, a "wonderful" header from the edge of the area for a last-minute equaliser in a 1–1 draw with St Mirren. He