MotoGP racer Valentino Rossi broke his leg in two places in an off-road motorcycle accident on Thursday.

FILE -- In this April, 9, 2017 file photo, Italy's Valentino Rossi celebrates winning second place at the end of the MotoGP race of Argentina's Motorcycle Grand Prix at the Termas de Rio Hondo circuit in Argentina. Six-time MotoGP champion Rossi has reportedly broken his right leg in a training accident in Italy. According to Italian sports daily Gazzetta dello Sport, Rossi fell during enduro training and fractured his tibia and fibula. (AP Photo/Nicolas Aguilera)
(AP)

The seven-time world champion was training with riders from his VR46 academy in Italy when he crashed his enduro motorcycle and fractured both the tibia and fibia in his right leg. He was operated on overnight at the Riuniti hospital in Anaconda and says he wants to get back to racing “as soon as possible.”

The 38-year-old also crashed a motorcross bike in May, but didn’t suffer any serious injuries.

"The surgery went well. This morning, when I woke up, I felt already good," Rossi said Friday.

A metal pin was inserted in Rossi's leg to hold the bones together. It was the same leg the 38-year-old Italian broke in 2010.