A film production company has admitted to health and safety breaches which left Hollywood actor Harrison Ford with a broken left leg.

A hydraulic door, used on the set of the Millennium Falcon spaceship, had reportedly knocked Ford to the ground and pinned him down.

The Health and Safety Executive (HSE) said the force of the hydraulic door hitting Ford was comparable to that of the weight of a small car.

Following the incident, which the court heard could have killed the actor, Foodles Production, a subsidiary of Disney, admitted two breaches of health and safety law.

The prosecutor said there was a “risk of death”, adding, “It could have killed somebody. The fact that it didn’t was because an emergency stop was activated”.

The production company pleaded guilty to one count under section two of the Health and Safety at Work Act 1974, in regards to employees, and another under section three, which covers people not employed by the company.

A spokesperson for the company said: “Managing on-set risks in a sensible and proportionate way for all actors and staff – regardless of their celebrity status – is vital to protecting both on-screen and off-screen talent, as well as protecting the reputation of the industry.”

In 2014/15, 144 people were killed at work, and some 1.2 million people were suffering from a work-related illness.