After 16 weeks of gushing uncontrollably, the natural gas leak that drove thousands of Los Angeles residents from their homes was finally plugged up Thursday.

The California Air Resources Board captured the moment with a FLIR infrared camera. A timelapse video of the footage released Friday shows the air finally clearing around the Aliso Canyon facility in the Porter Ranch neighborhood.

The massive well had been leaking natural gas, equalling about 4.5 million cars' worth of pollution every day, since Oct. 23, forcing around 6,000 residents to relocate and prompting California's governor to declare a state of emergency.

Though the leak has been plugged, the well still has to be filled with cement. The incident will likely cost hundreds of millions of dollars to mitigate and has been called the worst environmental disaster since the BP Oil Spill in the Gulf of Mexico.