According to BBC Sport, Marc Marquez finished second in the Valencia Grand Prix, the last race of his MotoGP career. Raul Fernandez of Aprilia-Trackhouse won the race. Marquez, 33, said on Friday that he would retire, and the race was the 135th podium of his career.

The Spaniard's decision came one week after he won a record-equaling eighth MotoGP title, BBC Sport reports. That put him level with Italian great Giacomo Agostini and one ahead of Valentino Rossi.

Marquez closed to within one second of Fernandez on the second-to-last lap, BBC Sport reports. He then had to ease off because his tires were wearing out.

"At one point I said 'OK maybe the victory is there' and I tried everything, but of course I used up the tyres in the end," Marquez said, according to BBC Sport.

Fans in the grandstand chanted his name and waved Spanish flags, BBC Sport reports. "I will miss motorcycling," he said.

Pedro Acosta came third to complete an all-Spanish podium, BBC Sport reports. Fernandez's win also helped Aprilia beat Ducati to the team title for the first time.

Before his final race, Marquez was given a Ducati painted red and gold and a gold helmet, BBC Sport reports. Crew members from all the teams lined the pit lane to honor him.

His brother, Alex Marquez, missed the race because of illness but came to the track to celebrate with him, BBC Sport reports.

Spain's King Felipe VI called Marquez and said he was "proud" of his career, according to BBC Sport.

What we know: Marc Marquez finished second in his final MotoGP race. Only BBC Sport has reported this so far; NewsHabit hasn't seen independent confirmation. What we don't know: What Marquez plans to do next.