Four-time world champion Sebastian Vettel announced his retirement from Formula One at the end of the season on Thursday, saying his goals had changed and he wanted to focus more on his family and interests outside the sport.

The 35-year-old German won his titles with Red Bull from 2010 to 2013 and spent six seasons with Ferrari before joining Aston Martin, which is currently languishing in ninth place out of 10 teams.

He made the announcement ahead of this weekend's Hungarian Grand Prix, the 13th round of the season and the last race before the August break.