Ryan Dunn's Passenger, Zachary Hartwell, Drank With Him Before Crash

Hartwell credited as stunt driver on Bam Margera-directed comedy

Police have identified Zachary Hartwell as the passenger who was killed in a car crash along with "Jackass" star Ryan Dunn.

Hartwell, 30, appeared drinking with Dunn in a photograph Dunn tweeted hours before the crash (left; Hartwell is on the right in the photo, opposite Dunn).

Also read: Bam Margera Rips Roger Ebert for 'Jackass' Tweet

Dunn, 34, was driving his Porsche when it jumped a guard rail and burst into flames.

Hartwell was credited as a stunt driver in "Minghags," a 2009 film co-directed by Dunn's friend and "Jackass" cohort Bam Margera. Margera blasted film critic Roger Ebert on Twitter late Monday for saying of Dunn, "Friends don't let jackasses drink and drive."

Police in West Goshen Township, Pa., where the crash occurred, confirmed for TheWrap that Hartwell was the passenger. But they said alcohol has not been determined to have been a factor in the crash, as of yet.

TMZ, which first reported Hartwell's name, said he was also credited as a production assistant on "Jackass 2."