Firefighters used a digger to free the person, who was critically injured in the incident.