A 31 year old man from Abertillery has pleaded guilty to setting fire to the Real Crisps factory in Crumlin on September 20th 2012.
Colin Goulding admitted guilt to the second count of arson being reckless as to whether life is endangered. The prosecution accepted the plea and said no trial would go ahead in line with the first count of arson with intent to endanger life.
Around a hundred people lost their jobs after the factory went up in flames. No one was injured in the blaze.
The court heard how Mr Goulding left work at 3.10am to have a cigarette. He lit it in a storage area despite smoking being strictly forbidden in the factory. He flicked the cigarette into a flammable area and it took 4-6 minutes to catch light.
More top news
A yellow 'be aware' warning has been issued by the Met Office for much of Wales.
Wales captain Ashley Williams admits panic will set in watching Gareth Bale in the Champions League final.
The heavy showers will ease during the first part of tonight, leaving a dry night with mist in places.