Margera tells E! Online that Dunn — who perished behind the wheel in a fiery car crash in Pennsylvania last Monday — had crashed at the same scene, with Bam and his brother in the vehicle, several years ago.
Also read: Ryan Dunn Remembered: Tributes and Criticism for the Late "Jackass" Star
"He flipped me in a car eight times at the same exact spot in 1996," Margera revealed. "Thank God I had my seat belt on, because [former CKY Crew member] Chris Raab put one on me, but my brother didn't have one on. He flew 40 feet. Thank God he's alive. But like, Dunn was always a maniac at driving."
Margera also revealed the last message sent by Dunn in the hours before his death: "Stopping for a beer, be there when I can."
According to police, Dunn, who was 34 at the time of his death, had a a blood-alcohol content of .196 and was driving between 132 and 140 miles per hour when he crashed his Porsche. In the hours before the early-morning wreck, Dunn tweeted a photo of himself drinking at a Philadelphia-area bar with his passenger Zachary Hartwell — who also perished in the crash — and another associate.
Prior to his fatal crash, Dunn reportedly racked up 23 driving citations, including for DUI.
Despite the circumstances of Dunn's demise, Margera says that his friend did not deserve the fate that he met.
"He was my best f—ing friend in the world," Margera told E! "It's been five days now and I can't stop crying man. I just don't think it should've been him."