Vilanova started his
coaching career in
2003–04, being in charge of
Tercera División side
FC Palafrugell and suffering relegation to
Primera Catalana. After working as technical director at
Terrassa FC he was appointed assistant manager at
FC Barcelona B, under manager
Pep Guardiola, with the team in the fourth tier. On 27 April 2012, at the press conference in which Barcelona confirmed Guardiola's departure, it was also announced that Vilanova would be his successor; on 15 June, he signed a two-year contract. The same year,
Lionel Messi revealed that Vilanova was the first coach at the club to trust him, and made him a starter for their under-16 teams. Vilanova managed to field 11 academy graduates at the same time in a league game against
Levante UD on 25 November 2012, after
Dani Alves left with an injury early on and was
replaced by
Martín Montoya. ==Health issues and death==