London - Two-time world champion Fernando Alonso announced on Tuesday that he will retire from Formula One at the end of the season after his recent struggles with underachieving McLaren.
The 37-year-old Spaniard - who has 32 Grand Prix wins to his credit in 17 seasons - has become increasingly disenchanted with Formula One as the once all-powerful McLaren team have fallen way off the pace.
Alonso - who in 2005 became the youngest ever Formula One world champion while driving for Renault before defending his title the following year - has garnered 44 points this season and is ninth in the drivers' championship.
Alonso went on to drive for McLaren for a year in 2007 followed by a return to Renault and then four years at Ferrari, before beginning his second spell with McLaren in 2015.
"I have seen you (Formula One) changing, sometimes for good, others, in my opinion, for bad," said Alonso, who on three occasions finished runner-up in the drivers' championship while at Ferrari.
"And this year, while still driving at my best, is how I want to remember you."
Alonso, whose best finish for McLaren so far was 10th in 2016, said he would carry on endeavouring to finish with a flourish.
"After 17 wonderful years in this amazing sport, it's time for me to make a change and move on," said Alonso in a statement.
"There are still several Grands Prix to go this season, and I will take part in them with more commitment and passion than ever."
He left the door slightly ajar, saying in a statement posted on the McLaren website he could return when it is "the right moment for me to be back in the series", but the personal message on his Twitter account sounded like a farewell.
Alonso, whose first win came in the 2003 Hungarian Grand Prix but who hasn't won since the Spanish Grand Prix five years ago, says new challenges await.
The former Ferrari star is known to be keen to complete the 'Triple Crown' of world Formula One champion, winning the 24 Hour Le Mans race and the Indy500 - he has achieved the first two of those aims.
"Let's see what the future brings; new exciting challenges are around the corner," said Alonso.
"I'm having one of the happiest times ever in my life but I need to go on exploring new adventures."
McLaren - whose unpopular racing director Eric Boullier resigned in early July - issued a statement bordering on a eulogy to the Spaniard.
"Fernando is not only an outstanding ambassador for McLaren but also for Formula 1," said Zak Brown, McLaren Racing's CEO in a statement.
"His 17 years in the sport, as arguably the pre-eminent driver of his generation and undoubtedly an F1 great, have added another layer to Formula 1's rich history.
"There is a time for everyone to make a change and Fernando has decided the end of this season to be his."
During his F1 career, Alonso has also claimed 22 pole positions and 97 podiums.
In a heartfelt address, Alonso spoke of his life-long love of Formula One in a 'letter' to the sport posted on his Instagram account.
"When I barely knew how to walk, I ran straight towards your noise, your circuits, without knowing anything about you," he said.
"We had very good times, some unforgettable, others really bad. We have played together against incredible rivals. You played with me and I learned how to play with you too.
"Every time I close my visor on my helmet, I feel your warm embrace, your energy, there is nothing like it.
"But today, I have some other bigger challenges than those you can offer me."
Among those in the frame to replace Alonso is British teenager Lando Norris, who serves as McLaren's reserve driver.
on two-time Formula One world champion Fernando Alonso, who on Tuesday
announced that he will retire from the sport at the end of the season:
Name: Fernando Alonso
Date of birth: July 29, 1981
Place of birth: Oviedo, Spain
Current team: McLaren
Driver number: 14
World titles: Two (2005 and 2006)
Grand Prix appearances: 303
Teams: Minardi (2001), Renault (2002, test driver), Renault
(2003-2006), McLaren (2007), Renault (2008-2009), Ferrari (2010-2014),
Debut: 2001 Australian Grand Prix
First win: 2003 Hungarian Grand Prix
Last win: 2013 Spanish Grand Prix
Pole positions: 22
Fastest laps: 23
Total points: 1 893
Drivers' championship record: First (2005, 2006), second (2010, 2012,
2013), third (2007), fourth (2004, 2011), fifth (2008), sixth (2003,
2014), ninth (2009), 10th (2016), 15th (2017), 17th (2015), 23rd (2001)