Crews have successfully extinguished a fire from a ruptured gas line that threw orange flames and thick black smoke into the sky Tuesday morning.

The fire, which started shortly before 9 a.m. Tuesday at State Highway 5 and Plateau Drive, was apparently caused when an Atmos Energy crew working in the area struck the gas line with a piece of heavy machinery, according to multiple media accounts.

Gas outages were ongoing throughout the day Tuesday, and the City of McKinney updated residents through social media that Atmos crews were working into the evening hours to restore gas service.

NBC 5 D-FW reported that two workers were injured during the gas line explosion, which engulfed a large backhoe and another construction vehicle. The Dallas Morning News reported that four people suffered non-life-threatening injuries, and that three of the injured had already been treated and released from a local hospital.

Flames from the fire and black smoke were visible for miles, causing the Department of Public Safety to shut down the area for the safety of residents and passers by. The City of McKinney had urged motorists to avoid the area.

As crews worked to extinguish the blaze, news helicopters circled overhead and captured images of the burning backhoe. A McKinney resident who lives at a nearby apartment complex provided video to WFAA, and it may be viewed by clicking here.