Story highlights Foxx's publicist confirms he was one of the rescuers

The driver was arrested and accused of driving under the influence of alcohol

(CNN) Jamie Foxx has played plenty of heroes on the big screen. Monday night he played one in real life.

The Oscar winner helped rescue a man whose pickup truck crashed and caught fire in front of Foxx's home.

Brett Kyle, 32, was driving his Toyota Tacoma "at a high rate of speed" in Moorpark, a town in Ventura County, California, when the truck left the road, traveled into a drainage ditch and rolled over multiple times, according to a statement from California Highway Patrol Officer Marco Marin.

The truck landed on its passenger side and caught fire with Kyle still inside.

"As I'm getting him out, I said, 'You've got to help me get you out because I don't want to have to leave you,' " Foxx told CNN affiliate KCAL . "I said, 'You've angels around you.'"

Read More