Erik Hamren has been appointed the new coach of Sweden.

The 52-year-old is currently in charge of Norwegian champions Rosenborg and will share both jobs until August 31, when he will take over Sweden on a full-time basis.

Hamren replaces Lars Lagerback, who stepped down last month following the Scandinavian nation's failure to qualify for next summer's World Cup finals.

"We are delighted and proud that we've been able to appoint Erik Hamren as our national coach," said Lars-Ake Lagrell, the president of the Swedish Football Association (SvFF).

"This is a long-term solution for the SvFF and we thank Rosenborg for their cooperation which has given us the opportunity to reach this solution."

Hamren, who had been on a shortlist drawn up the SvFF which also originally included Sven-Goran Eriksson and Fulham manager Roy Hodgson, has agreed a contract until the end of the qualifying campaign for the 2014 World Cup.

"To be the national coach of your country is and always has been a huge dream for me and I'm very grateful to Rosenborg for giving me this opportunity," said Hamren.

"At the same time I'm delighted to be able to work with the best team in Scandinavia, Rosenborg, into 2010.

"We will fight for the league, the cup and prepare ourselves to play in Europe."

Hamren's first match in charge for Sweden will be against world champions Italy on November 18.