This is terrifying. Anchorman: The Legend of Ron Burgundy star Will Ferrell, 50, was involved in a serious car accident on Thursday night and had to be rushed to the hospital — though he has since been released.

"While traveling back to LA after hosting a voter registration event in San Diego, a car carrying Will Ferrell and three of his colleagues was struck on the freeway by another vehicle. Will and his colleague, Andrew Steele, were unhurt and have been released from an Orange County hospital," a spokesperson said in a statement to In Touch.

"Will’s longtime driver, Mark Thompson, and his other colleague Carolina Barlow, remain hospitalized in stable condition. Will is staying close by as his friends are being treated, and has expressed his deep gratitude to the first responders who were immediately at the scene and to the hospital team that took such great care of them. He’s also grateful for all the well wishes he and his friends are receiving."

will ferrell getty images

At the Oceanside event, Will made an appearance as his Anchorman character, Ron Burgundy, to encourage young people to vote in the midterm elections. Earlier this week, the actor was spotted at the LA Lakers and Houston Rockets NBA game. He also announced he would delete his Facebook later today in a lengthy post on his account.

"I have always had an aversion to social media and have primarily used it as a tool to help support our work at Funny Or Die, some of my personal projects, as well as charity causes that I am passionate about. Facebook allowed me to promote and share the work of many dedicated and talented individuals who deserved recognition," he stated. "I love my fans and hope to further interact with them through my comedy via the mediums of film and television."

The Talladega Nights: The Ballad of Ricky Bobby star returns to the big screen in 2018 with flicks Zeroville and Holmes and Watson. It was also announced that he will play Allan in The 100 Year-Old Man Who Climbed Out the Window and Disappeared. Get well soon, Will!