A South Lake Tahoe man was ignited instantly inside this bathroom, authorities said.

Barek Madden suffered severe burns to his face, arms and upper body.

Schyler Van Fleet, 22, and Madden were attempting to speed up the process of making the extract by placing a liquid extraction into a metal pot of boiling water.

The process went wrong when Van Fleet carried the container into the bathroom where it ignited a piece of carpet.

As Van Fleet scrambled to move the pot outdoors, he ran back into the apartment and spilled some flammable solution onto Madden, according to the California Department of Justice.

Madden, of South Lake Tahoe, was then ignited instantly, authorities said.

The South Lake Tahoe Police Department said that fire personnel responded to a report of a structure fire at Forest Manor, a two-story apartment complex around 3 p.m.

Witnesses also told officials that they heard explosions coming from inside the complex. Firefighters later confirmed the presence of dozens of cans of butane inside the apartment.

As firefighters battled the flames from a unit downstairs, police officers began to assist in the evacuation of the entire complex. The building is on the 3700 block of Forest Avenue in South Lake Tahoe.

Van Fleet, who later told police he was cooking the marijuana, had eyebrows, hair and beard singed in the fire.

Van Fleet admitted that he had been using several cans of butane fuel to transform the marijuana into a concentrated honey oil form. Van Fleet was taken into custody on two felony counts of causing the fire and for operating a drug lab, police said.

Madden, who was unable to give a statement at the scene, was transported by helicopter to the UC Davis Medical Center in Sacramento.