A Texas man was critically injured Tuesday when his home exploded after he tried using brake cleaning fluid to remove bugs from his body.

Montgomery County sheriff's deputies were called Tuesday night to the man's home in Magnolia, just northwest of Houston. They found the man naked and suffering from second- and third-degree burns.

Officials suspected the man had bomb making materials after they noticed wires and large batteries in his home, according to a release from the Montgomery County Sheriff's Office.

A bomb squad was called to investigate, but officials determined the man had sprayed brake cleaner on his body in an attempt to "decontaminate himself," according the sheriff's office's statement. The man then used a vacuum cleaner to remove the bugs, and a spark from the vacuum ignited the fluid.

A rapid expansion of gases in the home caused the explosion, officials said. Several empty canisters of the brake cleaner fluid were found around the home, according to the statement.

The man, who wasn't identified, was taken to a hospital. He was unconscious Wednesday morning. Investigators will question him when he is awake.