Hundreds of workers were evacuated from a sprawling Barnsley factory which makes Mr Kipling cakes after a small fire in the early hours of this morning.
Fire crews from Tankersley in Sheffield, Barnsley and Cudworth attended the blaze at Manor Bakeries in Carlton at 2.30am.
The fire in an electrical box which was thought to have overheated.
It smokelogged the premises and staff were evacuated.
Firefighters put out the flames quickly and were off the site, on Fish Dam Lane, by 4am.
One said the electrical box had been destroyed but there was no other damage.
The Premier Foods factory manufactures Mr Kipling cakes. Earlier this year the company announced plans to build a new production and packing line for Mr Kipling products at the factory.
It will be capable of manufacturing 300 million cake slices each year.
Firefighters from Low Edges station also tackled a council van blaze on Dyche Lane at 3.26am. The fire damaged a Ford pickup and was believed to be deliberate.