The driver was trapped following the crash