Authorities say John Bilderback, 43, of Muscotah and James Colclasure, 46, of Atchison, suffered severe burns after an accident at Bradken Foundry around 9:30 a.m.
Both were taken to the Atchison Hospital but Colclasure was later flown to the University of Kansas Hospital for treatment.
The men were working on an electrical panel when the accident happened.
Authorities say the power to the building they were working in was shut down but for some reason the power to the panel was still on.
"The power to that particular box that they were working on actually comes from the street. So it doesn't run through the plant necessarily and I don't believe they knew that," said Atchison Fire Chief Michael McDermed.
The electrical current that injured the two men was so strong it scorched wooden boxes several feet away.
"The crews estimated probably the boxes were within maybe eight to 10 feet of where these gentlemen were working so that would give you an idea that the electrical arc extended out quite a ways," said McDermed.
The cause of the fire remains under investigation.
Copyright 2015 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.