Next time you want to get off work early, you probably shouldn't do what this guy did.

In Maine, a civilian employee set fire to a nuclear submarine, causing nearly $400 million in damages. According to reports, he set the fire because he was suffering from anxiety and wanted to go home early.

Casey James Fury, 24, of Portsmouth, N.H., faces up to life in prison if convicted on two counts of arson for allegedly setting fire to the USS Miami nuclear-powered attack submarine while it was in dry dock on May 23, and setting a second fire outside the sub on June 16.

Fury was taking multiple medications for anxiety and depression, and told investigators he set the fires so he could get out of work, according a 7-page affidavit filed in U.S. District Court in Portland on Monday.

Fury, who was working on the sub as a painter and sandblaster, initially denied starting the fires, but eventually acknowledged his involvement, the affidavit reads. He admitted to setting the May 23 fire, which caused an estimated $400 million in damage, while taking a polygraph test and being told by the examiner he wasn't being truthful.

The fire took almost 12 hours to extinguish, and the torpedo room and command area suffered damage. Thankfully, no one was inside the sub during the fire and no injuries were reported. If convicted, Fury would have to pay restitution on the damages, as well as an additional $250,000 fine and life imprisonment.

Wouldn't it have just been easier to call in sick or something?