A British court decided on Wednesday to impose a $ 1.9 million dollars fine to a manufacturing company, which violated a series of safety rules.

The violations led to Harrison Ford’s injury while he was filming for the ‘Star Wars: Force Awakening ‘, reported DPA.

Ford was filming at the Pinewood Studios set in Buckinghamshire on 12 June 2014 when he was hit by a hydraulic metal door.

According to The Guardian, following the incident the 74-year-old movie legend was left with a fractured leg that required surgery.

According to the British publication, Harrison Ford’s had to follow several therapy and treatment sessions after the surgery was completed.

The Aylesbury Crown Court fined Foodles Production Ltd, which is a subsidiary of Disney after the company pleaded guilty regarding the violation of protection regulations charges during a hearing held in July.

According to the National Health Service, the force of the door was compared with the weight of a small car.

Judge Francis Sheridan said that Harrison Ford had not been informed by the production company regarding this risk.

‘Star Wars: Force Awakening’ became the most profitable film in UK’s box office history in 2015, generating two billion dollars globally.

The 74-year-old was reprising the role of Han Solo when he suffered the unfortunate accident. The door had been designed to mimic the action of a door on the original Star Wars set.

Besides the fractured tibia and fibula, he required cosmetic surgery on his left hand.