 He then served as State Secretary to the Minister of the Environment from 2005 to 2007.Wallin was appointed Minister of the Environment and Minister at the Ministry for Foreign Affairs responsible for Nordic Cooperation by President Tarja Halonen on 29 December 2006.He succeeded Jan-Erik Enestam, who was also Wallin's predecessor as chairman of the Swedish People's Party.