Answer
After leaving Lorca Deportiva, Unai Emery took over as manager of Almería in 2006. He spent two seasons with the Spanish club, leading them to promotion to La Liga in his first season. Emery's success at Almería caught the attention of Valencia, who appointed him as their manager in 2008.