Julen Lopetegui has been appointed on Thursday as the new coach of the national team, the Football Federation reported on Thursday through its Twitter account.

The 49-year-old Lopetegui, goalkeeper during his playing days, is the successor of , who stepped down after Spain exited at the last 16 stage to . He had successes with the team at Euro 2008, World Cup 2010 and Euro 2012.

Lopetegui, who played with and as well as Real Sociedad de San Sebastian, has managed Spain’s national team U-19, U-20 and U-21 level and won the European Championships with the U-19s and U-21s.

He coached Porto as well as and Real Madrid .

Lopetegui will take control of his first game in September, in a friendly match against Euro 2016 quarter-finalists .