2nd UPDATE, 1:50 PM: UTA has released a statement on behalf of Will Ferrell following Thursday night’s freeway crash in Orange County. Ferrell was returning from Funny or Die and Billy Eichner’s “Glam Up the Midterms” event in San Diego when the crash occurred. Ferrell was not hurt. You can read the statement in full below:

While traveling back to Los Angeles 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. 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.

UPDATED with additional details, 9 AM: Will Ferrell has been released from a hospital and said to be doing fine following a two-car freeway crash late Thursday south of Los Angeles.

Ferrell was riding in a chauffeur-driven SUV with two other people when they were hit by another vehicle whose driver had fallen asleep at the wheel, Ferrell’s manager told Deadline.

The accident occurred shortly before 11 PM on northbound Interstate 5 in Mission Viejo in Orange County, according to California Highway Patrol Sgt. Richard Peacock. Ferrell’s vehicle, which was in the HOV lane, was struck by a vehicle on the right that had veered into the HOV lane. Ferrell’s vehicle then hit the center divider and overturned, Peacock said.

Ferrell and the three other people in the vehicle were all taken to a hospital. The actor was released a short time ago and is said to be doing well. A female passenger had “major injuries,” according to Peacock. The other two suffered minor injuries. The driver of the other vehicle was not hurt and was not detained or ticketed, he said.

TMZ, which first reported the crash, posted video of Ferrell being loaded into the ambulance.

The actor reportedly was on his way back from a Funny or Die event near San Diego.

Mike Fleming Jr. contributed to this report.