(two complete). Baraja closed his chapter at the Mestalla Stadium after one full decade on 16 May 2010, receiving homages before and after the 1–0 home win over CD Tenerife and being replaced to a standing ovation in the 89th minute. The 35-year-old announced his retirement shortly after, having appeared in 338 top-flight games over 15 seasons and scored 47 goals. International Baraja made his debut for Spain on 7 October 2000, in the 2002 FIFA World Cup qualification 2–0 defeat of Israel. Consequently, he was picked for the final stages, where the team reached the quarter-finals before being sent out by co-hosts South Korea on penalties, though the player, as the year before with Valencia, once again scored on his attempt; he scored from a header during regulation time, but saw his goal disallowed for alleged shirt pulling and pushing in the Korean penalty area. Baraja also took part in the disappointing UEFA Euro 2004 tournament, where Spain was eliminated in the group stage by eventual finalists Portugal and Greece. He was left out of the 2006 World Cup squad, as his club presence was also diminished due to recurrent injuries. Coaching career Early years In June 2011, Baraja returned to former team Atlético Madrid as part of newly appointed manager Gregorio Manzano's staff. In the summer of 2013 he returned to main club Valencia, first coaching the youths. On 22 December 2013, Baraja took interim charge of the reserves in the Segunda División B as Nico Estévez was doing the same for the first team, and achieved a 2–1 win at UE Sant Andreu. Segunda División Baraja was appointed manager of Elche CF, newly relegated to the second tier, on 12 July 2015. On 6 June of the following year, he resigned after failing to agree new terms. On 8 November 2016, Baraja took the reins at fellow league team Rayo Vallecano. After only three wins from 13 games, he was sacked on 20 February 2017 as they sat a point above the relegation places. Baraja was appointed at Sporting de Gijón on 12 December 2017. Towards the end of the season, he received a four-match ban and a €3,005 fine for preventing FC Barcelona B's Sergi Palencia from taking a throw-in; this included the first game of the play-offs, in which eventual champions Valladolid eliminated the Asturians 5–2 on aggregate in the semi-finals. On 18 November 2018,