Firefighters struggled nearly 15 hours to subdue flames racing through warehouses at an electronics plant in Indonesia Tuesday, local media report.

At about 1:30 p.m, fire broke out at PT Hartono Istana Teknologi, national representative for Polytron, at its location in Demak, Java. Extinguishment did not come until 4:30 a.m. Wednesday.

Several workers and firefighters suffered injures including smoke inhalation. No cause has been determined for the fire.