McLeish started his managerial career with spells at Motherwell and Hibernian, before guiding Rangers to two championships and five cup wins in five years. McLeish spent ten months as manager of the Scotland national team which narrowly failed to qualify for the finals of the 2008 UEFA European championship. He then resigned this post in November 2007 to become manager of Birmingham City, who were in the Premier League at the time. Though Birmingham were relegated at the end of the season, McLeish guided them back to the Premier League in 2009. Birmingham then won the 2011 Football League Cup Final, but were relegated again from the Premier League at the end of the 2010–11 season.