VALENCIA - Alex Marquez made motorcycling history on Sunday when claiming the Moto3 crown to join Marc Marquez, the MotoGP champion, as the only brothers to hold titles in the same season. Alex, at 18 three years Marc's junior, took third in the Valencia Grand Prix behind Australian Jack Miller, who was winning his sixth race of the season with Isaac Vinales in second. Miller's win wasn't enough to make up the 11-point advantage Honda rider Marquez had in the championship standings heading into the final race of the season.

In the end the championship was decided by just two points as Marquez ended the Moto3campaign on 278 with Miller on 276 and Marquez's teammate Alex Rins third on 237. "It's incredible. I thought it would be the race of my life and it was," said Marquez. "I felt good throughout the race. I felt comfortable. I am so happy and I just want to thank everyone who has supported me through every moment." Alex joins Marc and Moto2 champion Esteve Rabat as the all-Spanish winners of the three motorcycling classes for 2014.

His proud elder brother Marc said: "After my brother's victory I am very happy and now we'll wait and see if I can win too." And MotoGP world champion Marc claimed a record 13th win of the season at the Valencia Grand Prix ahead of Valentino Rossi and teammate Dani Pedrosa. Marquez's victory lifted him past the previous record mark held by Australian rider Mick Doohan of 12 victories in 17 races in 1997.

Victory for the 21-year-old in the 18th and final race of the season also ensured he and Pedrosa delivered back-to-back constructors titles for Honda. Rossi's second place ensured he finished second overall in the championship standings with Yamaha teammate Jorge Lorenzo, who retired from the race with five laps remaining, back in third.

It was a special Sunday all round for the Marquez family as Alex Marquez followed in his older brother's footsteps earlier in the day by becoming Moto3 world champion to ensure a clean sweep of world titles for Spanish riders in 2014. "The truth is am very, very happy. During the race at times I was thinking of my brother and thought I had to do well," said Marquez.

Marquez started fifth on the grid after a crash in qualifying on Saturday, but quickly moved up to third behind Rossi and Andrea Iannone. He then had to bide his time before passing Rossi on lap 10 and Iannone a lap later.

And in a fitting end to a sensational season he sped away from the competition to seal a comfortable victory despite some intermittent spells of rain. "When it started to rain I didn't know what to do, I just had to concentrate and then I was out on my own. I was enjoying it a lot and I thought I would risk it, I didn't have anything to lose."

"It went well and now I have to celebrate."

Second place in the overall standings was Rossi's best finish since he won the last of his seven premier class world titles in 2009, but the 35-year-old admitted it is going to be hard to get back on top of the world with Marquez around in the final years of his career. "With Marquez there is it going to be very difficult," said the Italian. "I am very happy because it has been a very positive season for me. I was on the podium many times, won two races and got a pole position yesterday."

Pedrosa, however, wasn't as satisfied with his end to the season as the rain affected his pursuit of Rossi for second place. "It wasn't very easy to see when it was raining because it was raining more at the end of the track than the beginning, so the whole race I was pushing a little more, then a little less. It was difficult to calculate the risk and the moment when it was raining hardest was when I lost most time on Valentino, but to end the season with a podium isn't bad."