MISSION VIEJO – Actor and comedian Will Ferrell was hospitalized after the SUV he was riding in was struck by an apparently sleepy driver causing it to hit the center divider and flip over on the I-5 freeway Thursday night, April 12.

Ferrell, 50, was riding in the black Lincoln with three others in the northbound carpool lane just before the 10:50 p.m. crash, said Rafael Reynoso, a California Highway Patrol officer and spokesman. At the same time, a 22-year-old man was driving a Toyota car in the lane to the right of the SUV, just north of La Paz Road in Mission Viejo.

“The driver of the Toyota apparently had fallen asleep and struck the rear end of the (Lincoln) Navigator causing it to hit the center divider wall,” Reynoso said on Friday.

The SUV then spun and flipped, injuring all four people aboard. One of the passengers, a 27-year-old woman, was not wearing a seat belt and suffered serious injuries, according to a CHP report on the incident.

It does not appear that alcohol or drugs contributed to the crash, Reynoso said. No arrests were made.

Ferrell, who grew up in Irvine, had minor injuries. He and the other three were taken to local hospitals.

The comedian’s representatives did not return repeated phone calls seeking comment, but a statement provided to CNN by the United Talent Agency said Ferrell was unhurt and had been released from the hospital on Friday. Ferrell’s longtime driver and another passenger sustained injuries in the crash and were still being treated at an Orange County Hospital, the statement also said.

According to social media posts, the SUV was chauffeur-driven.

The actor was apparently on his way back from a “Funny or Die” event in San Diego County in which he appeared as movie character Ron Burgundy. The event, which also featured comedian Billy Eichner, was aimed encouraging young people to register to vote before the midterm elections. Some people on social media said the event, set to kick off the “Glam Up The Midterms” national campaign, was at an Oceanside High School.

Seeing the first pictures from people who saw Will Ferrell bring back his "Anchorman" character #RonBurgundy tonight at Oceanside High, interviewed by @billyeichner to get young people to register to vote. I wanted to go for @10News, but alas, I have to live it through pics! pic.twitter.com/vXTIZCdoDk — Jeff Lasky (@10NewsLasky) April 13, 2018

Vote classy, San Diego: Get out the vote event to hit Oceanside next week with Billy Eichner and Will Ferrell, aka Ron Burgundy: https://t.co/iRY0kSdCqW pic.twitter.com/so8RnH6rVy — U-T Entertainment (@UTnightday) April 6, 2018

Correction: An earlier version of the headline misidentified the city where the crash happened.