America’s Got Talent  judge Simon Cowell is recovering after undergoing back surgery after an electric bike accident.

“He broke his back in a few places,” a spokesperson for Cowell said in a statement to Deadline. “They operated overnight, the surgery went well, and he is in the hospital recovering.”

According to sources quoted by  People, the surgery lasted five hours, and the  America’s Got Talent  judge “has had to have a number of fusions and metal rod put into his back.”

View this post on Instagram

A post shared by @simoncowell on Aug 26, 2016 at 9:08am PDT

The TV personality is reportedly doing fine.

“Simon had a fall from his bike on Saturday afternoon whilst testing his new electric bike in the courtyard at his house in Malibu with his family,” a spokesperson for the  AGT  and  The X-Factor  creator said.

“He hurt his back and was taken to the hospital. He’s doing fine, he’s under observation and is in the best possible hands.”